Drupal: Installing Drupal 7

This guide covers preparing for installation, running the installation script, and the steps that should be done after the installation script has completed.

Drupal 7 System requirements:

Web server: Apache

Database: Drupal 7: MySQL 5.0.15 or higher with PDO, PostgreSQL 8.3 or higher with PDO, SQLite 3.3.7 or higher

PHP: Drupal 7: PHP 5.2.5 or higher (5.3 recommended).

Step 1) Download and upload zip file to your server, extract Drupal zip.

Step 2) Create the database with a username, give all permissions.

Step 3) Create the settings.php file.

Prior to running the installation script, you must create a settings.php file and set some permissions.

File location: sites/default/default.settings.php

Copy the default.settings.php to settings.php.
Please note: Do not simply rename the file. The Drupal installer needs both files.

You should now have a default.settings.php AND a settings.php file in your sites/default directory.

Set both of these file permissions to 755. don’t forget to set these back to 644 after installation.

Step 4) Run the installation script.

If you have installed Drupal on a web host this will likely be a domain name such as http://www.example.com

A) Choose which profile to use for the installation.
Most people should select the “standard” option. The standard option comes with default content types already enabled, such as Article and Page, and with appropriate publishing options already set. (Of course you can later edit these default content types and their settings, or add additional ones.)

B) Select a language.

C) Verify requirements.
If your installation directory is not yet configured properly, you will be informed at this step. You can correct the settings individually and either refresh the browser screen or click ‘Try again’ to see whether there are any errors left.

D) Set up database.
Enter the database name as well as the username and password.
Click Save and continue at the bottom of the page.

E) Configure site
Input the information for the first user account (which will be automatically assigned full administration permissions) and provide basic web site settings.
In the Site name field enter the name you wish to use for the site. You can also edit it later through the administration interface.
In the Site e-mail address field, enter the e-mail address that will be used by Drupal when it sends out notifications such as registration information.
In the Site maintenance account field, enter the Username, E-mail address, and password for the main administration account.
Note that there is a distinction, as of Drupal 7, between the main administration account that you set up on this page, and the “Administrator” site administrator user role that you will see when you visit the “Roles” and “Permissions” pages in the administration interface. The account you set up in the Site maintenance account section during installation is a super-user who has overall control over every aspect of the management and configuration of the site.

Congratulations, you installed Drupal!

Don’t forget to set up permissions of sites/default/settings.php back again to 644 after installation.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>