Steps to Install Drupal 8.

| | 1 min read

Drupal community is eager to experience working with Drupal 8. Let us learn how we can install Drupal 8.

Everyone may have faced software dependency issues while installing Drupal 8. Refer this article to resolve those issues.

While installing Drupal 8 you will be guided through several screens to configure the database, add the site administration user account, and to configure basic web site settings like location, time zone, etc.

For installing Drupal 8 please follow the steps below.

  1. Download and extract Drupal.
  2. To run Drupal 8, create a virtual host to the Drupal root folder and point your browser to the base URL of your website (e.g.,

  3. Create the Drupal database.
  4. Run the install script.
  5. The most common steps you may need to perform are missing files directory and missing settings file. The installation script will attempt to create files directory (default : sites/default/files). You need to configure permissions to complete the installation by running following terminal commands.

    chmod a+w sites/default
    mkdir sites/default/files
    chmod a+w sites/default/files
    cp sites/default/default.settings.php sites/default/settings.php
    chmod a+w sites/default/settings.php

  6. Verify that the site is working.
  7. Protect settings file after successful installation.
  8. After installation you will be notified that, your settings file is not protected. Be sure to set the permissions back, after the installation is finished!

    chmod go-w sites/default/settings.php
    chmod go-w sites/default

  9. Configure trusted host patterns in settings file.
  10. $settings['trusted_host_patterns'] = array(