Drupal is a content management system which allows you to create and maintain many different types of websites without needing to know any coding language. Drupal is a free and open-source content management framework written in PHP. Strong security and user friendly interface make Drupal as a most popular web application framework.
The following tutorial provides step by step instructions about Drupal project installation and Drupal website setup or configuration for the beginners. Also please keep in mind this tutorial is for Drupal 7.
- Download Drupal core latest version from here – https://www.drupal.org/download
- Extract Drupal core package and rename the folder name to
- Move folder at the localhost or any server where you want.
- Create database at PHPMyAdmin. For example the database name is drupal.
- Drupal 7 come with a sample configuration file at
sites/default/default.settings.php. Before you run the installation script, you need to copy the
default.settings.phpfile and save the new file as
settings.phpin the same directory.
- Change the permissions of settings.php to allow the install script to edit the file:
chmod 666 sites/default/settings.php.
- Change the permissions of the
sites/defaultdirectory to allow the install script to create a files directory
- After the intallation script has run, you need to set the permission for settings.php, and the default directory again.
chmod 644 sites/default/settings.php
chmod 755 sites/default
Run the Installation Script:
- To run the Drupal install script, point your browser to the base URL of your web site. If you installed Drupal on your desktop machine, the URL might be
- Select an installation profile.
- Choose language.
- If your installation directory is not yet configured properly, you’ll be informed on this page. If you configured step 5, step 6, step 7 described at the Basic Configuration section, you’ll be redirected to the database configuration step.
- Database configuration – At this section choose database type and enter database name, database username, database password.
If you want to change the database host or port or add table prefix, then you can configure from ADVANCED OPTIONS section.
- Installing Drupal – Once the database configuration is finished, Drupal installation will be started automatically. Please wait for some times.
- Site Configuration – At this section you need to enter the site name, e-mail address and site maintenance account username, e-mail address, password, confirm password. Also you can set the additions options.
- Drupal installation complete – Congratulations Drupal installation is completed. Now you can view the completion message and a link for visit the new site.
- Once you click on the “Visit your new site” link, you would be redirected to the new site home page.
- For access the administrative panel, point your browser to the base URL of your website with admin segment. If you installed Drupal on your desktop machine, the URL might be
- If you are not able to access the administrative panel through
http://localhost/drupal/adminURL, you’ll access by
- You can use URLs like
example.com/?q=user. Click on the “Configuration” link => click on the “Clean URLs” link from “SEARCH AND METADATA” section => check “Enable clean URLs” option => save configuration.
On the above tutorial we have been described the basic configuration and installation guide of the Drupal 7. In our next post we will be described advanced label configuration in Drupal 7.