Installing A Drupal Package

Miss Drupal 2005
Miss Drupal 2005

Drupal is a content management system (CMS) that makes it easy for anyone to create their own website. For more information about Drupal see my previous hub, Using Drupal.

Requirements of a Drupal site

When you have found out what Drupal is and decided if it is the right solution for you, you have to install the Drupal core package. Before you can get Drupal up and running you will need the following:

  • a domain
  • a web host
  • FTP access to your web host

The Domain is the address at which you can access your site. For instance, hubpages.com is a domain. You can buy a domain for under $10.00 a year from a myriad of providers. Just google the term 'purchase domain name' and you'll be overwhelmed by the options.

The Web Host is a provider that gives you space on their server to run your site, most likely a hosting company. In selecting a web host you will have to be a bit more picky. You will need to select a web host that uses an Apache environment, supports PHP 5.2 and MySQL 5.0. However, don't worry, as most web hosts meet these requirements.

FTP access: Your web host must also offer FTP access to their web server that your site is stored on. SSH access is recommended, but not essential.

So before you pick your web hosting provider, make sure you ask them if these requirements are met. If they want to keep up with their competition, they will most likely answer yes.

Installing Drupal

Overview

  1. Obtaining the Drupal core package
  2. Extracting the package and renaming 1 file
  3. Creating a MySQL database and a user
  4. Uploading the extracted package to your web folder
  5. Completing the installation wizard.

1. Obtaining the Drupal core package:

Go to drupal.org and download the latest version of Drupal to your computer. You will find this at the top of the right sidebar under the heading Download. At the time of writing this article the latest package is Drupal 6.14.

2. Extracting the package and renaming 1 file:

The Drupal package comes in a zipped format with a .tar.gz extension. Most file archivers will extract the file. After you have done so, navigate to sites/default directory within your Drupal folder. Make a copy of the default.settings.php file, rename it to settings.php and place it in the sites/default directory.

3. Creating a MySQL database and a user:

In your web browser go to http://mydomainname.com/cpanel and sign in with the cpanel username and password that you received from your web host. Once inside find the PHPMyAdmin page and create a new database as shown in the screen below.

Now, create a user for your new database by clicking the SQL tab and entering the following text in the text field:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX,
ALTER, ON databasename.*
TO 'username'@'localhost' IDENTIFIED BY 'password';

Change the databasename to the name of your database. If you copied the screenshot above, the name of your database is drupal6. Furthermore, change the username and the password to a username and a password of your choice. Note these down as you will need them to complete the installation wizard later. Now, hit Go.

4. Uploading the extracted package to your web folder:

Use an FTP client to upload the extracted Drupal core package to your web folder (www). On a Windows system, I would use the FTP function of Total Commander. If you are running Linux, I recommend the FTP function of Krusader.

If you are using Krusader, go to Tools - New Connection. In the resulting window enter your domain name into the machine name field, leave port at 21, and enter your FTP username and password provided by your web host. Click connect. (If it doesn't work try using ftp.mydomainname.com for the machine name field. If it still doesn't work, email your web host and ask what you are doing wrong.)

Once logged on to the server place the entire content of your Drupal folder into your root directory on the server (www). Again, copy the content of your Drupal folder, not the folder and its content!

5. Completing the installation wizard:

In your browser, navigate to your site. You'll see a screen that basically has two options. Click the 'Install Drupal in English' link. You arrive at the database configuration screen where you select MySQL as the database type, enter your database name (drupal6), enter the username and password that you have chosen for the database user. (These are the ones that you noted down.)

(For the majority of installs the advanced options are not needed. If you have run out of luck, you'll need to change the Database host field setting from localhost to something else, which you can find by going back to your PHPMyAdmin screen and looking at what's in place of 'localhost' as shown in the previous screenshot and marked as 1.)

Click save configuration and if everything went well, you'll be presented with the Configure site screen. By filling in the configuration form you create the first user account, which is your admin account. This admin account will automatically have full rights over all aspects of your site. Choose your username and password wisely and as with every password, never let anyone know what it is. Now, save and continue and you are finished. Congratulations! You can visit your Drupal site.

They have already installed Drupal and are quite successful.
They have already installed Drupal and are quite successful.

So this is the way I usually do it written out step by step. If you get lost at any point or have problem making sense of something you can watch this video, which demonstrats a Drupal installation. It's a bit different from the way I do it, but they essentially do the same thing.

I hope you find this article helpful. If you have any questions, leave a comment. Thanks for reading.

More by this Author


Comments 8 comments

nicomp profile image

nicomp 7 years ago from Ohio, USA

Drupal is a great CMS tool. Thanks for the tutorial.


Haunty profile image

Haunty 7 years ago from Hungary Author

Thanks nicomp. :D


Justine76 7 years ago

Wow. I have to say, that was extremly informative, and the picture is pretty funny too. :) I now know were to go if I ever intend to set up my own website. It seems pretty out of my range of comprehenson tho..so maybe if I ever wanted a website..I could just hire you to do it?


Haunty profile image

Haunty 7 years ago from Hungary Author

Sure. I'll help you. ;) But I'm trying to write these hubs in a way that readers understand. Of course, if I get any negative feedback, like someone got lost some place, I will correct the hub.

And thank you. :)


frogdropping profile image

frogdropping 7 years ago

Haunty - this was great. I even followed and understood a little of it :) But you know ... I'm still fairly clueless. Or maybe just website stoopid. It's all chinese to me I'm afraid. Your mind adjusts so well to such technicalities. I need some techo-neurons!


Haunty profile image

Haunty 7 years ago from Hungary Author

lol, thank you. The truth is installing Drupal is a pain for someone who doesn't know how to do it. I hope someone will find this useful.

I'm always amused by this Christmas frog whenever I look at it. :)


frogdropping profile image

frogdropping 7 years ago

Hey :) This IS a useful article Haunty. I wasn't detracting from your effort. More explaining my stupidity. And I'm glad to hear it amuses you. I feel festive. Kinda ;)


Haunty profile image

Haunty 6 years ago from Hungary Author

I know that Dear. :):) Enjoy this pretty thing. Life.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working