Install Drupal on Ubuntu 12.04

Drupal is an Open Source content management system. Drupal is very powerful, flexible and popular among web developers. Whitehouse website build on Drupal.


Now Drupal is now available with Ubuntu 12.04 software repository and very easy to install. Please follow the instructions to install Druapl on your Ubuntu 12.04 server or desktop.

Install LAMP server
LAMP package contain MySQL, Apache and PHP.

apt-get update
apt-get upgrade
apt-get install lamp-server^

Enter MySQL root password during installation. 

Enable rewrite function in Apache,

sudo a2enmod rewrite
sudo service apache2 restart


Install Drupal

apt-get install drupal7

Check which version of Drupal is available latest and change version number.

Add Drupal configuration for Apache,

sudo cp /etc/drupal/7/apache2.conf /etc/apache2/mods-enabled/drupal.conf

Restart Apache

sudo service apache2 restart

Open a browser and type the address and proceed with installation process,

http://127.0.1.1/drupal7/install.php

Update Drupal to latest version using Drush
Drush is a command line shell and scripting interface for Druapl.

sudo su 
apt-get install drush

Check new Drupal updates available. Enter inside the Drupal installation place and apply following commands.
cd /usr/share/drupal7
drush up -n | grep available
drush up

Information courtesy: https://help.ubuntu.com/community/Drupal

3 comments:

  1. Goa University Library uses Drupal for its website and managed by the Librarian himself.

    ReplyDelete
  2. I learned so much by just reading your blog! I totally understand what you are saying here. I will recommend this site to my friend. Keep on writing good stuff. drupal

    ReplyDelete