Drupal - Installation

This chapter provides a step by step procedure for installing Drupal. Before installing Drupal, the following system requirements are required.
System requirements for Drupal
-
Database - MySQL 5.1+
-
Web Server -
-
WAMP (Windows)
-
LAMP (Linux)
-
XAMP (multi-platform)
-
MAMP (Macintosh)
-
Nginx
-
Microsoft IIS
-
-
Operating system - cross-platform
-
Browser support - IE (Internet Explorer 8+), Firefox, Google Chrome, Safari, Opera
-
SSL (Secure Socket Layer) - HTTPS requires a valid security certificate
-
PHP Compatibility - PHP 5.2+
Database - MySQL 5.1+
Web Server -
WAMP (Windows)
LAMP (Linux)
XAMP (multi-platform)
MAMP (Macintosh)
Nginx
Microsoft IIS
Operating system - cross-platform
Browser support - IE (Internet Explorer 8+), Firefox, Google Chrome, Safari, Opera
SSL (Secure Socket Layer) - HTTPS requires a valid security certificate
PHP Compatibility - PHP 5.2+
Download Drupal
Step 1 - Download Drupal and copy to your web server from this link - Download
Step 2 − Select the latest version of the zip file you want to download as shown in the next screen. Recommended releases are the latest stable releases of any version.
Installation Wizard
Setting up Drupal on your system is very easy. The following steps describe how to set up Drupal locally on your system.
Step 1 - Download the zip file and extract it to your local computer. Rename the folder from its current name to any name of your choice to link to your site.
Step 2 - Drupal requires a MySQL database. Create a new empty database with username and password to use with Drupal. (For example, user as "root" and password as "root" or you can set it as you choose).
Step 3 − Open a browser and navigate to the Drupal file path, you will see the first screen of the Drupal installer as shown in the following image. In our case, the path is localhost /
Step 4 − Select the default language for the Drupal site.
After selecting the language, click on Save and continue .
Step 5 − Go to the database configuration page. You need to enter the type of database you will be using and other details as follows.
-
Database Type - Select the type of database. By default it will be MySQL.
-
Database Name - Enter the database name for Drupal.
-
Database Username - Enter the username of your MySQL database.
-
Database Password - Enter the password you have set for the MySQL database.
Database Type - Select the type of database. By default it will be MySQL.
Database Name - Enter the database name for Drupal.
Database Username - Enter the username of your MySQL database.
Database Password - Enter the password you have set for the MySQL database.
When you click on ADVANCED OPTIONS , you will see the following screen −
You can fill in additional options for the database −
-
Database Host - Enter the name of the host where your database is located.
-
Database Port - Enter the database port.
-
Table prefix - used to add prefixes to database tables, which allows you to run multiple sites in the same database.
Database Host - Enter the name of the host where your database is located.
Database Port - Enter the database port.
Table prefix - used to add prefixes to database tables, which allows you to run multiple sites in the same database.
After filling in all the information, click on the Save and Continue button .
Step 6 − The installation process starts on your computer.
Step 7 − Site setup page appears on the screen −
It contains the following fields −
-
Site Name - The name you want to give your site.
-
Site email address - The email address to which automated emails will be sent.
-
The username, email address, and password are all administrative data used for the service account.
Site Name - The name you want to give your site.
Site email address - The email address to which automated emails will be sent.
The username, email address, and password are all administrative data used for the service account.
You need to enter all these fields and click Save and continue .
Step 8. The next page, indicating that the installation of Drupal was successful, will appear on your screen.
Step 9 − Click the link Visit your new site as shown in this image.
Step 10 − Finally, the newly installed Drupal home page appears on your screen as shown in the previous image.