ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Installing A Drupal Package

Updated on October 20, 2011
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.

Comments

    0 of 8192 characters used
    Post Comment

    • Haunty profile imageAUTHOR

      Haunty 

      8 years ago from Hungary

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

    • frogdropping profile image

      Andria 

      8 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 imageAUTHOR

      Haunty 

      8 years ago from Hungary

      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

      Andria 

      8 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 imageAUTHOR

      Haunty 

      8 years ago from Hungary

      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. :)

    • profile image

      Justine76 

      8 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 imageAUTHOR

      Haunty 

      8 years ago from Hungary

      Thanks nicomp. :D

    • nicomp profile image

      nicomp really 

      8 years ago from Ohio, USA

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

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)