Drupal 8 Installation and Configuration Tutorial

Drupal 8 has been released on November 19, 2015 with huge improvements. We have already published step by step guide on Drupal installation and configuration tutorial for beginners. Today we’ll help you to install and configure newly launched Drupal 8 on your local server. In this Drupal 8 tutorial for beginners, we’ll provide the step by step guides. With our step by step tutorial, you can easily install and setup Drupal 8 on the server.


It will be a good idea to build and test your Drupal site on the local server before publishing your website on the internet. Once you have satisfied with local development, you can upload the full project directory on the web host for publically available. So, you can install and setup your Drupal 8 site on the localhost first.

Before starting the Drupal 8 installation checkout the system requirements for install and run Drupal 8 on your web server.

  • Disk space: Minimum 15 MB for installation and 60 MB for the website. Also needs some extra space for database and media files.
  • Web server: Apache, Nginx, or Microsoft IIS
  • Database:
    • MySQL 5.5.3 or higher with PDO
    • PostgreSQL 9.1.2 or higher with PDO
    • SQLLite 3.6.8 or higher
  • PHP: PHP 5.5.9 or higher

Step 1: Download and Extract Drupal

 Download the Drupal 8 core .gz or .zip file to your local machine from here – https://www.drupal.org/project/drupal
 Extract the .gz or .zip file into the local machine and place the entire folder into the localhost server. Now rename the root directory name with your chosen project name (For example, drupal/). In case you want to install Drupal on the web host, upload the entire contents of this folder (drupal/) to the HTML document root of your hosting account.

Step 2: Create Database

 Before creating the database keep in your mind the database naming convention of Drupal 8.

  • ➔Database name with uppercase character will be converted to lowercase.
  • ➔Only a-z, 0-9, and “_” are allowed for the database name.

 Log into the phpMyAdmin panel (http://localhost/phpmyadmin/) and create a database (For example, drupal_db) with utf8_general_ci COLLATION. For creating the database on the web host checkout How to create a MySQL database in cPanel tutorial.

Step 3: Create services.yml file and files directory

 Copy the sites/default/default.settings.php file and save the new file as settings.php into the same directory. Change the settings.php file permission to allow install script to edit the services.php file.
 Copy the sites/default /default.services.yml file and save the new file as services.yml into the same directory. Change the services.yml file permission to allow install script to edit the services.yml file.
 Change the sites/default directory permission to allow install script to create a files directory. Alternatively you can create a sites/default/files directory yourself manually.

Step 4: Run the installation script

 Point the browser to Drupal folder URL or website base URL for run the installation script. If you are installing Drupal on the web host, the URL will be a domain name such as http://www.example.com. If you installing Drupal on the local server, URL might be http://localhost/drupal.

 Choose language:
Choose your site language from language dropdown. Save and continue.

  • drupal-installation-tutorial-choose-language-by-codexworld

 Choose profile:
Select an installation profile (recommended is Standard). Save and continue.

  • drupal-installation-tutorial-choose-installation-profile-by-codexworld

 Verify requirements:
Review the requirements and modify the server configuration if needed. Click on the retry link after modified the configuration. Otherwise, click on the continue anyway to skip the optional configurations.

  • drupal-installation-tutorial-verify-requirements-by-codexworld

 Set up database:
Configure the database by entering the database type, database name, database username and database password.

  • drupal-installation-tutorial-database-configuration-by-codexworld

If you want to change the database host, port or table prefix, you can use the ADVANCED OPTIONS. Otherwise, leave as it is. Save and continue.

  • drupal-installation-tutorial-database-configuration-advanced-option-by-codexworld

 Install site:
Drupal will be start installing and you’ll see the installation progress.

  • drupal-installation-tutorial-installation-progress-drupal-by-codexworld

 Configure site:
Enter your site name, site email, login username, login password, email address, select default country and time zone. Save and continue.

  • drupal-installation-tutorial-configure-site-by-codexworld

 On success, you will be redirected to the homepage and you’ll see the installation success message.

  • drupal-installation-tutorial-drupal-installed-by-codexworld

 You can see all the configuration menus under the Manage tab. Also, you can point the admin URL (http://localhost/drupal/admin/ or http://www.example.com/admin/) to access the administrative panel.

  • drupal-installation-tutorial-administration-panel-by-codexworld

 Congratulation!! Your Drupal 8 installation and configuration has completed. Now you can see the new UI and features of Drupal 8. If you have any questions about this Drupal 8 installation tutorial, let us know by providing your comment here.


  1. Rajkishor Saw Said...
  2. Rajkishor Saw Said...
    • CodexWorld Said...

Leave a reply

CodexWorld Newsletter

Subscribe CodexWorld updates via email and get every new post delivered to your inbox.