Hey Folks, today we are going to configure Drupal CMS in ubuntu operating system. Drupal is content management software. It’s used to make many of the websites and applications you use every day. The Drupal project is open source software and anyone can download, use, work on, and share it with others. You can extend it with any one, or many, of thousands of add-ons. Modules expand Drupal’s functionality. Themes let you customize your content’s presentation. We think we have described more features about Drupal, so now we should move to configuration.

Let’s take a look 😛 !!

Apache Installation

Basically we need a web server to configure or host any web application so we will first install apache web server to host our wordpress on our ubuntu operating system.

Installation of MySQL Database

Likewise, we need a database server in the backend to keep the credentials and information of ourselves and our customers. Now we will install maria database server to store all those data and content.

Add Repository

By default, the latest version of PHP is not installed in the Ubuntu operating system, so we will add this given repository so that the latest version of PHP can be installed in the ubutnu operating system. After adding it then execute the update command.

Installation of PHP

Now we can install any version of PHP which is available, but in this time we need version 7.3 of PHP which we install using the following command.

Protect Remote Root Login

We will take the following steps to secure our database server only. All you have to do is change the root password of mysql as per your choice and the rest has to be done as we have done below.

Just enter “Y” everywhere and exit this configuration.

Create Database

Now we need to create database along with username and password by using the following command. You can keep all things or names according to yourself.

Drupal Installation

Now the time has come where we will install Drupal CMS on our system. First we have to download the drupal cms by using the wget utility and unzip the downloaded file using the tar command.

Now follow these steps one by one.

  • Step 1: Move the unzip file, creating a new directory in the root folder of the apache.
  • Step 2: Give the ownership to the created directory.
  • Step 3: Give permission as well.
  • Step 4: At the last just restart Apache web server.

Lookup the following location on your browser and you will get the interface as shown in image below. Choose the language according to you.

Don’t need change anything and just proceed by click on “save and continue“.

Then scroll down and click on the hypertext link highlighted.

Fill in all the database names, usernames and passwords you have created here.

Wait 😛 !! It will only take a few seconds to check all configurations and credentials.

Now create a username and password to secure the admin panel of the web application.

That’s it 😛 !! Everything is done, as you can see that we have successfully configured Drupal CMS on our ubuntu operating system.

About the Author
Shubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.

Leave a Reply