How to Install Drupal in Ubuntu localhost the easy way
Dec 10th, 2009 | By anuradham | Category: FOSS, how to, linux, tricksDrupal is one of the famous content management systems (CMS) in the world. You can create multi-functional dynamic web sites with CMSs. With this short how-to, let’s get a clean Drupal installation done in an Ubuntu Environment.
Let’s use the terminal (command line) to do server level operations.
[1] Download the drupal files from the web site and extract the files to the web root (/var/www/)
$ wget http://ftp.drupal.org/files/projects/drupal-6.14.tar.gz && sudo cp drupal-6.14.tar.gz /var/www/
(you’ll have to provide the sudo password to copy the files to the web root)
$ cd /var/www/ && sudo tar xvvzf drupal-6.14.tar.gz

Now that you have placed the files in the web root. Let’s create a user and a database for drupal.
$ sudo useradd drupal (Give what ever the user name you want and the password)
Create a MySQL database.
$ mysql -u root -p
mysql> create database drupal;
mysql> grant all on drupal.* to drupal@localhost identified by ‘password’;
mysql> flush privileges;

Okay now we have the database and credentials for drupal user to manipulate that database.
For ease of use let’s rename to drupal-6.14 to just “drupal”.
$ sudo mv drupal-6.14 drupal
You need to do a small tweek before you begin the installation.
The Drupal installer requires that you create a settings file as part of the installation process.
1. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
2. Change file permissions so that it is writable by the web server.
Make the ./sites/default writable for the time being until the installation ends.
chmod 777 ./sites/default (Make sure you make it to 755 later)
Take the web browser and start the installer.

You need to fill out the database name, user, password to connect your drupal site to the MySQL database. And make the defaut directory write protected after installation.

After you log in to Administrator panel, you can customize the theme, add new modules, manipulate the site and do many more things.
If you have any kind of computer problem then use our Computer Forums!
Related posts:
- How to install Joomla on an Ubuntu localhost Installing Joomla in an Ubuntu Box is fairly straight...
- How to Install software in Ubuntu A decade ago, installing software in Unix based system was...
- Mount is denied because NTFS is marked to be in use problem ubuntu While mounting a volume of Windows on Ubuntu in a...
- How to setup a 3G connection in Ubuntu with Huawei E220 Couple of years back, connecting your mobile Internet device with...
- Download accelerator for Ubuntu GNU/Linux Shell You might have used may number of Download accelerators in...
Related posts brought to you by Yet Another Related Posts Plugin.

[...] How to Install Drupal in Ubuntu|install drupal in linux localhost … Share and [...]
[...] here: How to Install Drupal in Ubuntu|install drupal in linux localhost … By admin | category: ubuntu install | tags: drupal, easiest, easy, host-the-easiest, [...]
[...] CMS installations than early days.In our previous CMS tutorial for linux we gave you instructions on how to install drupal in localhost .Follow the steps below to come up with a quick Jommla installation on your local machine where you [...]