Ubuntu

Getting LAMP running on Ubuntu for Drupal

Here's my recipe for getting native Apache2 running as a dev enviromnent for Drupal on Ubuntu.  This includes Drupal 8 development.  

Apache2

First install Apache2:

sudo apt-get install apache2

Test by visiting: 

http://localhost

You will get an error each time you start the server unless you define the servername in the apache2.conf file:

ServerName localhost

Once things are running, enable mod rewrite:

sudo a2enmod rewrite

Now we add an override to use .htaccess files:

Pages

Subscribe to RSS - Ubuntu