Drupal is an open-source Content Management System(CMS), written in PHP, used by many organizations to build and maintain their data and websites.
In this article, we will learn how to install Drupal on Centos 7 V.M created on E2E Cloud Service.
Pre-requisites:
- Centos 7 server with static IP
- Apache 2.4
- PHP 5.5 or higher
- Mysql or MariaDB
Steps:
Install httpd service using below command
Then start and enable the httpd service.
Install PHP and it modules using below command
If you want to install PHP 7.0 then need to install its repository first.
Now install mariadb server for the database and start the service.
To secure the mariadb server and set mariadb root password, run below command
Now to install Drupal on centos 7 run below commands
Unzip the installed drupal package and move the setup to the document root.
Then create the settings file and give the appropriate permission.
- Login to mysql and create database and user and grant required privileges to the user for the database.
- Now open URL http://serverIP/drupal
Scroll down and click on “Continue Anyway”. - Then fill the details as per your requirement.
- Once the setup is done. Open the website in the browser.
Conclusion: Drupal is successfully installed on CentOS 7.
Introduction to Drupal :