Drupal is a free and open-source content-management system (CMS) based on PHP and Mysql, Drupal allows an individual or community of users to publish, manage and organize a variety of content, Drupal integrates many popular features of content management systems, weblogs, collaborative tools and discussion-based community software into one easy-to-use package.
Drupal also possible to install it on a Ubuntu Server 12.04. Currently, the Latest version of Drupal (drupal 7) is available in Official Ubuntu Software repository. Here’s a step-by-step guide on how to install drupal 7 on ubuntu server 12.04
Step-by-Step Install Drupal 7 on Ubuntu Server 12.04 via Ubuntu Software Repositories
Step 1. Make sure LAMP (Linux,Apache,MySQL,PHP) has been installed on ubuntu server 12.04, you can found a step-by-step how to install LAMP Server on Ubuntu Server 12.04 -> Here
Step 2. Install latest version of drupal (drupal7) from the repositories with following commands:
sudo apt-get update sudo apt-get install drupal7
Step 3. Registering Drupal to apache with following command:
sudo cp /etc/drupal/7/apache.conf /etc/apache2/mods-enabled/drupal.conf sudo /etc/init.d/apache2 restart
Step 4. Create database with command below,in case we’ll create database with name “dbdrupal”
mysql -u root -p CREATE DATABASE dbdrupal;
Step 5. Install drupal from your favorite browser by typing http://host/drupal7/install.php
Step-by-step Installing Drupal 7 Manually
Step 1. Download and extract all drupal files into /var/www/ directory:
sudo -i cd /var/www wget http://ftp.drupal.org/files/projects/drupal-7.15.tar.gz tar xvf drupal-7.15.tar.gz mv drupal-7.15/ drupal
Step 2. Change an ownership of all Drupal installation files to www-data user.
chown -R www-data.www-data /var/www/drupal/
Step 3. Create a MySQL database to be used by our new Drupal 7 installation, Let’s create and use following credentials:
- Database: dbdrupal
- User: drupaluser
- Password: drupalpass
mysql -u root -p create database dbdrupal; CREATE USER drupaluser;
Create password: “drupalpass” for user: “drupaluser”
SET PASSWORD FOR drupaluser = PASSWORD("drupalpass");
Grant user drupaluser all permissions on the database.
GRANT ALL PRIVILEGES ON dbdrupal.* TO drupaluser@localhost IDENTIFIED BY "drupalpass";
Logout from mysql server
quit
Step 4. Navigate your browser to Apache’s hostname or IP address and follow Drupal 7 installer (http://hostname/drupal) to complete your own Drupal installation.
Link Reference:














How to Install and Configure Lusca as Proxy Server in Ubuntu Server 12.04
How to Install and Configure Proxy Server with Squid3 on Ubuntu Server 12.04 LTS
How To Install LAMP Server in Ubuntu Server 12.04 LTS
How To Install WordPress in Ubuntu Server 12.04 LTS
How to Install ownCloud 4 in Ubuntu Server 12.04 LTS