Search This Blog

Monday, July 9, 2012

Install Drupal 7.14 on Ubuntu 12.04


Download drupal archive from the site and copy it to the root of your www directory
(on Ubuntu that is: /var/www  for apache2).

Unpack the drupal archive:
tar -zxvf drupal-7.14.tar.gz

Change the name to drupal (or any other):
mv drupal-7.14 drupal

Make sure ALL the files are owned by the www-data user (Apache2 user):
chown -R www-data:www-data ./drupal

Make sure you have the following packages installed:
php5-gd, libapache2-mod-php5, php5-pgsql (if you use postresql with drupal)

apt-get install php5-gd
(use apt-get, because aptitude uninstalls libapache2-mod-php5)
aptitude install libapache2-mod-php5
apt-get install php5-pgsql

Open the page (installation script from the browser):

www.yourdomain.com/drupal

That's about it.

No comments:

Post a Comment

If you like this post, please leave a comment :)