In this article, we will have explained the necessary steps to install and configure Drupal on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Drupal is an Open Source Content Management Software which allows us to build ND create web sites without doing any coding. Drupal’s code is written in PHP and comes under GNU GPL (General Public License ).
Install Drupal on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install LAMP stack on CentOS server.
It is assumed that you have already installed LAMP stack on CentOS 8. If not, please check out the following tutorial:
Step 3. Install Drupal on CentOS 8.
Download the Drupal source from its official website. We can also use wget command to download drupal from the terminal:
Then set the appropriate permissions:
Step 4. Creating Database for Drupal.
Now we have to create a database and a user for the Drupal site to manage:
We can create our database with the command below:
Step 5. Accessing Drupal.
That’s it. It is time to use your favorite web browser and navigate to:
That’s all you need to do to install Drupal on CentOS 8. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.