- Domain Name
- Web Hosting Account - Opening and Basic Setup
- Web Hosting Account - Installation Drupal 5.7 (Applicable for 5.12 Too)
- Welcome To Your New Drupal Website!
- 'Standard Web Site' - 4 Pages
- Basic Concepts In A Nutshell
- Basic Site Settings, File Configurations
- Web Site 'Looks' Or Default Templates
- Contributed (External) Modules/Themes In 'public_html/sites' Folder
- Add Theme (External) - Aberdeen
- Adding 'External'/Contributed Module - Nodewords For Search Engine Keywords
- Feedback Form For Visitor To Send
- Image Gallery
- Learn To Put An Image Using HTML Image Tag
- Changing Background, Styling of Themes
- For Multiple Websites With One Drupal Installation
- Trouble Shooting
- A Word About Taxonomy
- Some Basic Tools We Need
- Creating Book Content - Using Book Module
- User Settings And Our 3rd 'Login' (Authenticated) User 'Sam'
- Creating Blog Content With Attached Image Module
- Security, Security, More Security
- How To Upgrade Drupal 5.7 To 5.8
- Storage And Bandwidth - How Much We Need?
Web Hosting Account - Installation Drupal 5.7 (Applicable for 5.12 Too)
It is very easy to install Drupal 5.7:-
(a) Go to Drupal.org and download the file (a single tarball file) to your pc.
(b) Upload file to your cPanel and extract contents
(c) Move files and folders to the /public_html path
(d) Create a folder named my_domain.com at /sites and copy settings.php here
(e) Create a database, database user and password
(f) Go to your website www.my_domain.com, follow installation instructions i.e key-in database, database user name and password. That's it.
(g) Create first (supreme) user account and login into your Drupal website.
Create A Folder In Your Computer And Download Drupal 5.7 To Your Harddisk
In your harddisk, create a new folder:
Select > My Computer > Local Disk(C:) > File > New > Folder > [Enter folder name say] 'mydrupal'
To download Drupal, go to drupal.org here.

Notice the md5_filehash followed by a hash reference. This allows us to authenticate the file we download from the website to ensure it is the correct file. See here how to use md5sum to authenticate files.
Select > drupal_5.7.tar.gz > [save to folder] c:/mydrupal/[put file here] > Save.
Note: Your folder after download should be c:/mydrupal/drupal-5.7.tar.gz. Use md5sum to check the file is correct file.
Upload Drupal-5.7.tar.gz From Harddisk To cPanel
Go to http://www.my_domain.com/cpanel
Login username and password.
Select > File Manager

(continue) > [Checkbox select] Show Hidden Files [note:we must show hidden files to edit (later) (dot)htaccess file] > Go > [new window opens]

(continue) > [notice left-hand corner, default folder path is public_html] > Upload > [new window opens]

(continue) > Browse > [look for your c:/mydrupal/drupal-5.7.tar.gz ] select drupal-5.7.tar.gz > Open (...starting upload...wait till 100% complete...) > [close window] X > [Back to /home/mydomain/public_html] >

Notice: Last column '644' is file permission code, read as follows:
read - 4; write - 2; execute - 1
So 644 is read as:-
[Own/root user] '6' -> read and write permission
[Group users] '4' -> read only
[World outside] '4' -> read only
Another example say folder permission is 755, read as:-
[Own/root user] '7' -> read, write and execute permission
[Group users] '5' -> read and execute
[World outside] '5' -> read and execute
Note: It is essential that 'Group' and 'World' should not have write permission.
Select > File Manager > [select right-hand panel] drupal-5.7.tar.gz > Extract

(continue) > [public_html] Extract file(s) > [message 'Extracting Archives.....'] > [close window] X

Notice: The folder drupal_5.7 opens up and path is now /public_html/drupal-5.7
Move Drupal Folders And Files From /public_htm;/drupal-5.7/[HERE] To /public_html/[HERE]
Our path is /public_html/drupal-5.7/[all_drupal_files_and_folders_here]. We have to move all_drupal_files_and_folders_here to:-
/public_html/[all_drupal_files_and_folders_here].
Note: except for htaccess file - we do not move but copy the htaccess contents to the default htacess in /public_html.
Select > [right panel] > [highlight folder] 'includes' > [shift+arrow_down] > [highlight folders] 'misc/modules/profiles/scripts/sites/themes'] > [basically move all folders and files except htaccess] > Move File > [change/type path to] /public_html > Move File(s).
Note: have to do 'move' another time for CHANGELOG.txt plus all files. The remaining file not moved will be htaccess.
Copy/Replace Original Htaccess file In Public_Html Folder With Drupal-5.7's Htaccess file
[Still in path public_html/drupal_5.7/] Select > htaccess > Edit > [new window opens] > [highlight all contents] > [right-click] Copy > [close window] X.

Select > [left-frame] public_html > htaccess (original file in cPanel) > Edit > [new window opens] > [put cursor at start] > [right-click] Paste > Save Changes > go back to the File Manager [window closes].
Finally, folders and files looks like this:-

Create New Folder With My_Domain Name At /sites/my_domain.com And Copy /sites/default/settings.php File To /sites/my_domain.com/[here]
If our website is www.my_domain.com, we need to create a path at /sites/my_domain.com and copy /sites/default/settings.php file to /sites/my_domain.com/settings.php.
Select > /public_html/sites > New Folder > [New Folder Name, enter] my_domain.com > Create New Folder
note: we have created a folder at /sites/my_domain.com. It is essential that this folder name must be your exactly domain name.
(continue) > default > settings.php > Copy > [copy to,change] /sites/my_domain.com > Copy File(s) > [check] > Up One Level > [path /sites] > [folder] my_domain.com.
Note: we should see our folder and file permissions like this:
sites/my_domain.com (755)/settings.php file(644)
This method of setting up is very important and Drupal will automatically change the settings.php to 444 permission for security purpose after we setup the website shortly. We will check this later.
To understand /sites path setting, also see Contributed Modules/Themes
Create MySQL Database/ Database User And 'Bind' User/Database
We need to do 3 things here (1) create a database (2) create a user for this database and finally (3) bind (add) user to this database.
Select > cPanel "home" > [select under 'Databases'] MySQL Database

(continue) > [New Database, enter] apr09db > Create Database > [should see message 'added database ..] > Go Back > [Add New User] > [Username, type] apr09db > [Password,create] my_password_xxx > [Password (Again)] my_password_xxx > Create User > should see message 'Added user...'] > Go Back >
note: Suggest to give database name example apr09db to indicate different database creation and backup dates, and user name and database name the same to keep simple.
Also the full name of the database and database user name is like cpanel_login_name + database_name. So if my cpanel login name is mydomain, then full database and database username is mydomain_apr09db.
Important: Please remember your full database name, database username and password because you will need to enter this upon setting up your Drupal website.
Finally we add the user to the database.
[scroll down] > Select [from dropdown User] apr09db > [select from dropdown Database] apr09db > Submit

(continue) > [select, check] ALL PRIVILEGES > Make Changes [message like 'User apr09db was added to database.......] > Go Back
That's it.
Select > home > LOGOUT
Installation Of Drupal 5.7 Website
Go to http://my_domain.com. The script automatically calls for the install.php file.
We provide and setup the database here.

Enter following:-
Select Database type: mysql
Database name: my_domain_apr09db
Database username: my_domain_apr09db
Database password: my_password_xxx
Click Save configuration

Notice: the message "All necessary changes........settings.php made.... read only...security"
Select > your new site
Continue with tutorial.
Check cPanel settings.php File Permission Changed From 644 To 444
Open another Internet Explorer (or Firefox, of course) window.
Select > Start > Internet Explorer.
Go to http://www.my_domain.com/cpanel
Login username and password.
Select File Manager > sites > my_domain.com > settings.php
Note: This file permission should now be 444.
(continue) > View

Notice: the MySQL username and database name has been entered in this settings.php file. If we wish to use another (new/updated) database, then we have to manually edit this settings.php file (first change permission to 644 to allow edit), amend this line with our new database user and name and DO NOT FORGET to CHANGE BACK PERMISSION (manually) to 444 after editing.
Close and logout all files. Always remember to properly close and logout your files for security reasons.
For Multiple Websites With One Drupal Installation
For Multiple Websites with one Drupal installation, see here.