How to Install Drupal on CentOS

Introduction

Drupal is a free and open source content management framework based on PHP. It is distributed under the open source GNU General Public License. As of November 2017, Drupal community is composed of more than 1.3 million members. In this tutorial, we will learn the process involved in installing Drupal on CentOS.

Prerequisites

  • CentOS7
  • Login as an administrator on the terminal.
  • LAMP must be configured on the system.

Installation

Installation includes following steps.

1. Download Compressed File

Execute the following command to download the compressed file of Drupal.

CentOS How to Install Drupal on CentOS

Execute the following command to extract the file downloaded from the internet.

2. Create Database

Execute the following query on the MySQL shell to create the database which is to be used by Drupal.

CentOS How to Install Drupal on CentOS 1

3. Start the Development Server

Change the current working directory to the Drupal directory and execute the following command to start the PHP development server which is listening on port no. 8082 (in my case)

CentOS How to Install Drupal on CentOS 2

4. Access Drupal on browser

Just type localhost:8082 in the browser's search bar to access Drupal on browser.

CentOS How to Install Drupal on CentOS 3

Choose the language and click Save and continue

CentOS How to Install Drupal on CentOS 4

This step prompts to choose the installation profile either standard or Minimal. We can choose anyone and just click Save and continue to proceed.

CentOS How to Install Drupal on CentOS 5

This step prompts to enter the database details. Fill the database details and click save and continue.

CentOS How to Install Drupal on CentOS 6

Drupal is now installing on our CentOS.

CentOS How to Install Drupal on CentOS 7

This part of the installation includes the configuration of our website. Just fill the website details such as username, password, and Email address. Click Save and continue to proceed further.

CentOS How to Install Drupal on CentOS 8 CentOS How to Install Drupal on CentOS 9 CentOS How to Install Drupal on CentOS 10

Now, we got Drupal installed on our CentOS. We need to login to our website by using the credentials which we have just filled such as username and password.

CentOS How to Install Drupal on CentOS 11

Just fill the username and password to login to Drupal.

CentOS How to Install Drupal on CentOS 12 CentOS How to Install Drupal on CentOS 13

Hence, we have successfully installed and get started with Drupal.


Next TopicInstall Node.js