Chapter 1 Installing Drupal on your webserver
Easy web development using Drupal CMS(Content Management System)
by:
MOHD ALIF AZMAN
http://www.alifazman.com
Visit alifazman's Scribd Channel on:
http://scribd.com/alifazman
Creative Commons International :Malaysia
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
Requirement and Installation
In my documentation, I use Apache web server and MySQL database for running drupal.In this version
of documentation, drupal version 6.16 are being used.
Requirement :
1. A running Apache web server.
2. MySQL server database.
3. PHP language
4. Drupal Package.
Installation:
1. Download your drupal package at drupal website : http://drupal.org/
2. Right click and extract the tar.gz file and in suppose to create drupal.XXX version extracted.
Image 1.1 : Extracted file of drupal
3. Now, paste it on your webserver public file. It could be htdocs if you running xampp.Or it
could be on directory /var/www/html/.
4. Rename it to more easier name that you can remember.So, it would be example “mysite”.After
your pointing to your browser it will be http://localhost/mysite an installation page like this
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
should appear :
Image 1.2 : Installation panel of Drupal
5. Then click “Install drupal in English” and you will facing an error page like this :
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
Image 1.3 : Installation setting error on Drupal
To solve it, simply make a copy the file of “default.settings.php” in folder /sites/default , then rename
it to “settings.php” inside the same folder. If there is an error permission stated, simple isssue this
command (for linux/Unix user only)
• chmod o+w sites/default/settings.php
• chmod o+w sites/default/
by issuing this command, you will give other than owner ability to write to the settings.php file.
Remember to write-protect it back after finish of installation.
5. Then a page look like this should appear for configuring your drupal database settings. One
thing to be remember, your database MUST exist before this installation. You should create a
database for your drupal installation. In this documentation, I created a database called
“drupal_test”. Click on save and continu to proceed.
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
Image 1.4 : Drupal database setup
6. After clicking on Save and Continue button, a basic site configuration will appear for setting up
your basic info of your future website such as sitename, administrator username, password and
etc.
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
Image 1.5 : Configure drupal backend and basic web info.
Alif azman http://alifazman.com
Chapter 1 Installing Drupal on your webserver
1.6 : Drupal success to installed.
Notes : In this documentation I disable email function.That's why it mention “unable to send e-mail”
error. In your installation it should be okay.I used this on my local machine.It's okay to leave
the error.
1.7 : Drupal front page website.
Alif azman http://alifazman.com