Steps for Installing Drupal on webhost

Posted in Articles

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

Here is a summary of the steps to install Drupal 7 on webhost.  This is just a summary.  For details, see here.

1.  Create a MySQL database.  Depending on your webhost, it may go something like this.  The important thing is to create a database, create an user for that database with password.  Assign that user to that database.  The information that you need to “write down” or remember is the database host (usually localhost), the databasename, and the database username, and the database username password.

2. Download Drupal 7 from, unzip, and upload to your document root in webhost.  Or if you know how, you can upload the tar.gz and then unzip it when it is up on the server.

3. Create the settings.php file from “sites/default/default.settings.php” to “sites/default/settings.php”.  Don’t rename, copy.  Drupal needs both.

4.  From your browser, run install.php from your document root.  And run through the web installation wizard, filling out your database info.  In the advanced option, you have the ability to enter the database prefix (good idea for improve security).  The prefix you enter should contain a trailing underscore character.

5.  For the site maintenance account, come up with an admin username and password that will be used to log into dashboard.

6.  Change permission of settings.php to 644 or better.

7.  Enable cron job by Administration > Configuration > System > Cron (admin/config/system/cron).

8.  Check for clean URL.  The installer tests for compatibility with Clean URLs as and will auto-enable it if compatible.

9.  Check that “/sites/default/files” is created (typically permission 775).