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.
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/drupalExtract 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.
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 thesites/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 ashttp://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.
Choose profile:
Select an installation profile (recommended is Standard). Save and continue.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.Set up database:
Configure the database by entering the database type, database name, database username and database password.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.
Install site:
Drupal will be start installing and you’ll see the installation progress.Configure site:
Enter your site name, site email, login username, login password, email address, select default country and time zone. Save and continue.
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.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.
Comments