You are hereHow to Install Drupal 7: Installation Tutorial

How to Install Drupal 7: Installation Tutorial


Have you been searching to find an easy tutorial that will show you step-by-step how to install Drupal 7 with Hostgator.com? Drupal 7 was released on January 5, 2011 and contains some exciting new features with the basic stock installation, including Views and CCK (two very powerful modules) Although Drupal 7 still requires a manual installation, it is a piece of cake with Hostgator's control panel and this Drupal 7 installation tutorial! While we personally love Hostgator.com, this Drupal installation tutorial could also be used to guide you through setting up Drupal 7 with another hosting company.

This how-to Drupal 7 install tutorial will show you from beginning to end what you need to do to successfully install Drupal 7 and publish your new website to the internet in less than half an hour.I still use Drupal 6 and will for a while longer most likely(due to the availability of certain modules), but that doesn’t mean you have to! There are many reasons to use Drupal 7, including the host of new features and feature enhancements compared to Drupal 6. Learn how to install Drupal 6 here. Having an FTP client is a must, and that’s about as complicated as this will get. These steps are specific to Hostgator for ease of use and because Hostgator is the hosting company that I use to host my Drupal website. However, the steps should be pretty similar for other hosting companies and step 1 will be the place where you’d have to figure it out.

Now that you have gotten yourself set up with both a domain name and a hosting account, you'll want to make sure you have your domain name pointed to your hosting account. After that, you are ready to get started with your Drupal 7 Installation!

 

Setting up your database for Drupal 7
Once you’ve done this part and seen how easy it is, it will seem silly that this is the “toughest” part of the Drupal 7 installation.

  1. Log in to your Hostgator control panel. If you have a different hosting company besides Hostgator, then log into your main hosting control panel.
  2. Find and click the link for ‘MySQL Databases’ (See Picture)
  3. Enter a short name for your database in the empty spot for ‘New Database: yourname_’ (See Picture)
  4. Click 'Create Database' Be patient; it takes a few seconds
  5. Click the ‘Go Back’ link
  6. Further down the page, under ‘Add New User’,  add a short name to the end of ‘Username:  yourname_’ (See Picture)
  7. Type in a password(twice) for this user, then click “Create User”.
  8. Click ‘Go Back’ again
    You’re almost there!
  9. Towards the bottom of the page under ‘Add User To Database’, change ‘Username:’ to the username you made and change ‘Database:’ to the name of the one you created.
  10. Click ‘Add’
  11. Check the box for ‘All Privileges’, then click ‘Make Changes’. Then click ‘Go Back’ one more time. (See Picture)
  12. Finally, you’ll want to make a note of your database name, and the username and password you just made in the previous steps.
     

Getting Drupal 7 in your hosting space
These next sections will go by quickly and soon you’ll have set up Drupal 7 on your hosting space! This is the last step before your actual Drupal 7 install.

  1. Go to http://drupal.org/project/drupal and download the .zip file for the latest version of Drupal 7. You can also use the .tar.gz file, but most computers can open .zip files without having to install extra software. (See Picture)
  2. Unzip the drupal folder to your desktop, and within that folder, navigate to /sites/default
  3. In the ‘default’ folder, make a copy of ‘default.settings.php’ and rename the new copy ‘settings.php’ (See Picture)
  4. Now close that drupal folder, and reopen it. You should now be back at the main level(root) of the drupal folder(you should be able to see the ‘sites’ folder).
  5. Open your FTP client(like Filezilla) and log in so that you’re able to move files to your server.
  6. On the server side, navigate to /public_html/
  7. Highlight and delete the ‘default.html’ file.
  8. Select everything in the drupal folder you reopened and drag it into the ‘public_html’ folder on your server (See Picture)
     

Installing Drupal 7
Installation of Drupal 7 is a breeze. Follow these steps and you’ll have published your Drupal 7 website online in no time!

  1. Navigate to your website address with /install.php added after it. Example: www.MyExampleWebsite.com/install.php
  2. On the ‘Select an installation profile’ screen, leave ‘Standard’ selected and click ‘Save and Continue’
  3. Choose the language you wish to install Drupal in and click ‘Save and Continue’
  4. Drupal will ‘Verify Requirements’ on its own and skip to the next screen
  5. This is where you’ll want to enter the info you took note of a little while ago. Your database name will be just that(like yourname_drupal1), and your username and password will be the ones you attached to that database  (See Picture)
  6. Drupal will install itself on your database… (See Picture)
  7. Next you’ll have a short form of site information to fill out; make sure to take a note of your site login. Everything else can be changed later when the site is up and running. Once everything is filled out, click ‘Save and Continue’
  8. You’re finished! Click the 'Visit your new site' link at the bottom of this page and you’ll be directed to your new Drupal 7 website!   (See Picture)

Newsletter Signup

Corrections? Feedback?

This site hosted on:

Contributing Member of the Official Drupal Association