Installing Drupal

Drupal is a Content Management System. Drupal allows a easy way of development of websites, without coding a single line. Thus it make even the novice user to develop a website. Apart from the core module it contain thousands of add-on module.

Installation of Drupal is a little bit tricky. The detail description of how to install Drupal is given on the site The main problem with the installation is the permission problems. If a new user is trying to use Drupal try to install in a place where permission is not a problem, better try to do it in a folder named ‘drupal’ in the home folder itself. A specialized user can install it in the place mentioned in the installation file.

The first step is to download the latest release of Drupal from the official site. Untar the .tgz file and move it to a folder named html in the drupal folder placed in the home folder. We must also move the ‘.htaccess’ file.

In sites/default contain a file named ‘default.settings.php’. We must make a copy of this file and name it ‘settings.php’. This file is used as the user settings file. The content will be automatically configured during the install process.

To run the file ‘install.php’, in order to install Drupal, our system must be equipped with some softwares. They are as follows:

  1. apache2
  2. php5-mysql
  3. libapache2-mod-php5
  4. mysql-server

As the ‘install.php’ lies inside the home folder, we must change the web servers default page settings. i.e. if we run in our browser a default page will be displayed. We can change it by changing the path in the configuration file of apache2.

The folder contain a file named ‘default’, we have to alter a couple of lines in this file. The first line is

Replace it with

‘/home/odolshinu/’ is my home folder.

The second line and its replacement strings are

After doing this is to create a database for Drupal alone which will store all the content of the site we are going to build. Drupal must have full access to the database, hence grant all the permission for the database.

After completing all these steps, we can simply run a browser and run the install script, i.e. All further installation is done using a user interface.

A problem which I faced during the installation is that whenever I tried to run a .php file in a browser, the .php file simply gets downloaded. The problem was, the apache web server don’t know what to do with .php file. It only know what to do with .html file. Thus I’ve to properly install ‘libapache2-mod-php5’.


About Odol Shinu

I've completed my B Tech in Information Technology in 2010 from Government Engineering College Sreekrishnapuram Palakkad under Calicut University.

Posted on November 28, 2010, in Drupal. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: