How to install Drupal CMS in 3 simple steps
Update: Try posting to the default Drupal site yourself
A step by step guide on Drupal CMS installation to a cheap hosting.
My www.symbianexample.com site is hosted on one of the best cheap hosting services T35.com. Featurewise it's provides every basic feature you can expect from just a "good cheap hosting": Apache, PHP, MySQL, CPanel, SSH and FTP access to your files - this is all Drupal needs to work (SSH is optional, but simplifies the installation).
The Drupal installation consists of three steps:
1. Download files
2. Create and initialize the database
3. Set up the configuration files
1. Download files
First of all we need a place to download to, some directory possibly linked to one of our domain names.I have a www.symbianexample.com domain name linked to the symbianexample subdirectory of my account root directory.
We need to get Drupal archive from http://drupal.org/files/projects/drupal-4.6.3.tar.gz and unpack it into the target directory. We could just unpack everything to the local PC and transfer files to the web server via FTP. It will work, but faster and simpler is to download files directly t your host.
Here's how I did it.
a) Start Putty SSH client and log in to your account using the address from your hoster. Usually it's just your domain name
wget http://drupal.org/files/projects/drupal-4.6.3.tar.gz

d) Unpack files to the directory drupal-4.6.3
tar -zxvf drupal-4.6.3.tar.gz

e) Move unpacked files to the target directory
mv drupal-4.6.3/* drupal-4.6.3/.htaccess ./symbianexample
Drupal files are now in the symbianexample directory
2. Create and initialize the database
Drupal stores its content in the database, that can be MySQL - the most frequent option in the hosting packages.a) Create the database
The easiest way of creating the DB is via CPanel.
Log into it using the hoster's instructions. In T35's case you just open yourdomain.com:2082 in the browser.
E.g. http://www.symbianexample.com:2082
There go to Server -> MySQL Databases and create database sanktrum_symbian, user with the same name sanktrum_symbian and grant the user all the rights on the just created database

sanktrum is my account name and CPanel automatically adds it to the DB name, you will have a different prefix.
b) Load initial content into DB
In the CPanel go to Server -> PhpMyAdmin and select just created sanktrum_symbian from the drop-down box on the left. My DB shows (55) existing tables, because I uploaded the data already. Yours just created DB will show 0.

After selecting the DB, go to the SQL tab and upload the database.mysql file, supplied with the Drupal archive. You can can get it from the database directory of the Drupal installation (just FTP it to the local drive)
Hit Go and voila, DB is up and running

3. Configure the site
The last installation item is the simplest one.Go to the sites/default directory and edit the configuration.php
You need to edit only two lines that specify the domain and database used. Replace the DB name, user name and password with the ones created on the step 2. And enter your domain name, of course.
$db_url = 'mysql://sanktrum_symbian:YourSuperPassword@localhost/sanktrum_symbian';
$base_url = 'http://www.symbianexample.com';
Create the administrator account
After the installation is completed, log into the just created site and do it fast. The first who creates an account, get's the administrator rights :)
That's it. Your Druapl installation is up and running, ready for the extra configurations via the Web interface. As I told already, the next thing I am going to do is to research the ways of uploading the image to the Drupal article while typing the article just like you can upload the images to Blogger. I am going to give everybody rights to post on the site so, that everybody could try and evaluate the possible solutions.
To be continued, stay tuned







34 Comments:
Great tutorial.. I'll try this sometime. Still testing Drupal on localhost..
Great to know that somebody finds it useful! :)
I made some improvements on the localhost and will be posting again soon
Thank YOU for this tutorial... it's pretty useful for newbies like me, that do not understand nothing (almost) about SQL or whatever...
Thanks again... I'll tell you about my experiences...
Yama, it would be very nice to hear your experiences and to know what you'd like to see the tutorial about. I don't post here actively anymore, but plan to add some more tutorials periodically
THANK YOU! Dupral's official directions had me lost. You explained how to do the uploading step in Cpanel, which I still haven't found in Drupal's instructions.
I am glad that this post is useful for somebody :)
Thank you for help!!!
Hello, I have read some documentation on Drupal and would like to install it on WINDOWS Server with IIS6.
Is there a 3 simple steps for installing on a Windows server?
I have only IIS6 up and running and have downloaded the Drupal, PHP5, and MySQL.
Should MySQL and PHP 5 be installed before Drupal?
Does it matter where MySQL is installed? Does it need to be in the same directory with Drupal?
Hi, Mark
I run Drupal test server on my home Windows PC, so it is possible. However, I use Apache, not IIS.
To run Drupal you need a web server that supports PHP and also have a MySQL or PostgreSQL database installed (Drupal might work with other DBs also, but I never heard if it really can).
In your situation, it depends if you can make IIS run PHP scripts or not. Unfortunately I have no idea of how complex it is.
Yes, PHP and DB should be installed before the Drupal itself.
It is possible to run Drupal on IIS, but unless you have good reasons to do it, I'd advice trying some out of the box Apache+PHP+MySQL installation like XAMPP
how do you test drupal on a local host?
I use the xampp bundle - www.apachefriends.org/en/xampp.html
It includes MySQL, Apache and PhpMyAdmin, so it's easy to install Drupal there
Hi, i have got my hands on Drupal and Netserver. I have installed Netserver which contains Apache, PHP, MySQL on Windows.
Is there simple steps to install drupal in windows.
I have read few documents but i cant find any one on Windows.
Thanks.
The left sidebar is overlapping the center area!!!
just got drupal installation working on godaddy using your instructions! Thanks!!
My steps were a little different, but it is working on their php/linux/deluxe hosting environment!
This is what I did differently:
a.)started Filezilla instead of Putty
d.)used your tar command in a local cygwin directory and then uploaded the files to the destination on the server/webhost
2.a) had already created a database...but when i open it i had to select utf-8 character set in the godaddy database manager interface
2.b)found database/database.4.0.mysql in my local directory (there was a ~4.1.mysql as well but 4.0 worked for me so far)
database name and username are the same for this example get the exact details from Hosting Manager>Home>Databases>MySQL $db_url = 'mysql://databasename:password@hostname/databaseusername';
Once again--nice job, and thank you for your help
katz, I am glad it worked for you :)
Hi...I found your tutorial much more helpful than the installation instructions however, I am havin a bit of difficulty with one or two things. I couldn't find a file called database.mysql, only database.mysql.inc, so I used that. When I tried to upload the database.mysql.inc, it comes back and gives me a giant error message:
_____________
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near [and then it quotes the first couple lines of the database.mysql.inc file which start out like < ? php //$SID ...etc. (but without the spaces which I omitted because blogger wouldn't let me post any script)]
______________
So, I don't really know what to do to fix that. If you have any suggestions please let me know! THank you.
Got the same problem like ashley, please can anyone help me?
Contact me under: drupal@mysolopipe.com
Big thx in advance for the help!
be a professional and remove this clutter of ads on your blog , few of my friends also hate coming on your blog , bcoz of ads .
where i erite the simple hello world program,,
how i execute it...
bharanikumariyerphp@gmail.com
Great help, thanks. If you want to install Drupal 6.2 then check here: http://pro-developer.blogspot.com/2008/04/how-to-install-drupal-62.html
You can also first test the drupal CMS without installing the stuff.
Check www.freedrupal5hosting.com, over there you can try the CMS and then decide if you'd like to install it or not.
now drupal 6.x is very easy to install and configure..
give it a try.
Hi,
I've setup my Drupal site on localhost and added allready a lot of modules and content.
In a while I will register a domain and would like to host the site on an internet server.
Is there an easy way to have my local Drupal installation moved to a webserver ? So I don't need to reinstall all modules again and create all content again...
Thanks for your help!
Wim
wim.deschepper@gmail.com
If you are looking for a great "all inclusive" Drupal tutorial. You might want to check out http://book.drupalfun.com
This ebook guides the reader from the install to the full featured community site.
we offer wow power leveling and wow gold wow gold
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!
Our physics replica rolex professor was replica rolex struggling to replica rolex draw the class into replica rolex discussion replica rolex of Archimede's rolex principle rolex of water displacement.rolex He told us that rolex Archimede Final Fantasy XI GIL noticedrolex that when replica watches he got into replica watches a pool at the replica watches public bathhouse,replica watches the water replica watches rose spilling replica rolex over the edge. replica rolex Excited at his replica rolex discovery,aion gold he ran down replica rolex the street yelling,replica rolex "Eureka, eureka! The instructor asked ffxi gil if anyone knew LOTRO Gold what that meant.
good to know this information to istalar things that are useful, thanks for the recommendation, I recommend buy viagra
Thanks for the information, we will add this story to our blog, as we have a audience in this sector that loves reading like this” cms services
Thanks for the information, we will add this story to our blog, as we have a audience in this sector that loves reading like this” cms services
Thanks for the infoe useful
There are lots of fantastic replica watches Swiss produced replica watches Replica Watches UK companies for the world. replica watch Most inside extremely awesome retailing replica watches uk
fake watches companies are produced during replica rolex
Nice tutorial and very informative and helpful post .Thanks for taking time to share this incredible post here with us .Good job keep it up the great work.
Your post really helped me to understand this. It has great details and yet it is easy to understand.That's what i was looking for. I will definitely share it with others.Excellent!
Post a Comment
Links to this post:
Create a Link
<< Home