Installing drupal 7 on ubuntu

## Problem

Installing drupal 7 on ubuntu

Solution

To install drupal 7 on ubuntu first get drupal to the direcory where you want to install drupal then create virtual host by going /etc/apache2/sites-available after this you would need to enabel the site like so sudo a2ensite then point yout favourite brwoser to the domain that you created on virual host and follow onscreen instraction.

Errors you May Get

If you see this error while installing drupal ‘PHP extensions’ then you need to install php5 gd, you can do that by running this command:

sudo apt-get install php5-gd
# then you may need to restart apache: 
/etc/init.d/apache2 start
# or
$ sudo /etc/init.d/apache2 start