Ubuntu has been around since 2004 and Ubuntu 16.04 LTS Xenial Xerus was released april 2016. Xenial Xerus is a Long Term Support release and will be supported until 2021. There is both a desktop and a server version, where I am using the server version. The server comes in two variants, 32 and 64 bit, I use the 64 bit version. The instructions given installs Xenial with PHP7.0 and alllow you to select between either the server version or the desktop version.
Drupal has been around since 2001 and is a great Content Management System, used in many sites worldwide. Drupal is flexible and can be adapter to in many different ways. The learning curve is steep. Drupal 7 was released in 2011 and is now quite stable, as most new development is done in Drupal 8 released in November 2015. I am mostly using Drupal 7, and occasionally Drupal 8. Drupal 7 is at the time of writing (January 2017) not yet officially supporting PHP7.0 but apart from a few warnings from contributed modules I have not had any issues.
WordPress has been around since 2003 and is a an other Content Management System, with many sites worldwide. WordPress is very user friendly for content editors. This website is build using WordPress.
When developing web sites, it is convenient to run the sites on in virtual computers, either locally on your own computer or in the cloud. This makes is easy to install, alter and delete the sites without interfering with the setup of your own computer. In the following pages I will go the process of setting up virtual computers:
- setup your host
- install and configure the basic ubuntu operating system
- install Drupal version 7 and 8
- install WordPress
- verify your system setup
You can either choose to go through the instructions step by step, or use the described scripts, which will do the job for you in around 12 minutes. It will be good training to do the installation by hand, if you should want to modify the vm. All scripts needed can be found at Github.
There are existing development environments and if you are not interested in the virtual machine setup, you may want to skip the instructions on this site and use e.g.
- Vagrant Drupal Development, with Ubuntu14.04 LTS Trusty Tahr, 64 bit. Building the vm takes around 20 minutes.
- Drupal VM, Ubuntu 14.04 LTS Trusty Tahr, 64 bit. Building the vm takes around 30 minutes.
- Drupal 8 Sprint Box, with Ubuntu 12.04 LTS Precise Pangolin, 64 bit. Packages are pre-installed in the Vagrant box. Starting the vm and installing Drupal 8 takes around 6 minutes.
All environments are virtual machines implemented with Vagrant and Virtualbox.