Atlantic.Net Blog

How to Install Backdrop CMS on Oracle Linux 8

Hitesh Jethva
by Atlantic.Net (511 posts) under Dedicated Server Hosting, Tutorials
0 Comments

Backdrop CMS is a simple, user-friendly, and lightweight content management system used for building attractive and professional websites. It was forked from Drupal CMS and designed for small and medium organizations. Backdrop CMS is a full-featured CMS that helps non-technical users to manage a wide variety of content. Backdrop CMS offers more than 750 modules, themes, and layouts that help you to extend the functionality of your website.

In this post, we will show you how to install Backdrop CMS on Oracle Linux 8.

Prerequisites

  • A server running Oracle Linux 8 on the Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Oracle Linux 8 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install the LAMP Server

Before starting, you will need to install a LAMP stack on your server. First, install the Apache and MariaDB with the following command:

dnf install httpd mariadb-server  -y

After the successful installation, you will need to install PHP version 7.4 and other extensions on your server.

First, enable the PHP 7.4 repository with the following command:

dnf module enable php:7.4

You should see the following output:

Last metadata expiration check: 2:06:55 ago on Tuesday 19 July 2022 03:11:19 AM EDT.
Dependencies resolved.
==============================================================================================================================================
 Package                           Architecture                     Version                           Repository                         Size
==============================================================================================================================================
Enabling module streams:
 nginx                                                              1.14                                                                     
 php                                                                7.4                                                                      

Transaction Summary
==============================================================================================================================================

Is this ok [y/N]: 

Next, run the following command to install PHP with other required extensions:

dnf install php php-cli php-fpm php-gd php-mysqlnd php-json php-curl php-pdo php-mbstring php-dom php-xml unzip -y

Next, start and enable the Apache, MariaDB, and PHP-FPM services:

systemctl start httpd mariadb php-fpm
systemctl enable httpd mariadb php-fpm

Step 3 – Create a Database for Backdrop CMS

Next, you will need to create a database and user for Backdrop CMS. First, connect to MariaDB with the following command:

mysql

Once you are connected to MariaDB, create a database and user with the following command:

create database backdrop;
create user 'backdrop'@localhost identified by 'password';

Next, grant all permissions to the backdrop database:

grant all privileges on backdrop.* to 'backdrop'@localhost;

Next, flush the privileges to apply the changes and exit from MySQL with the following command:

flush privileges;
exit;

Step 4 – Download Backdrop CMS

Next, visit the Backdrop CMS GitHub page, pick the URL of the latest Backdrop CMS, and download it with the following command:

wget https://github.com/backdrop/backdrop/archive/refs/heads/1.20.x.zip

Once the download is completed, unzip the downloaded file using the following command:

unzip 1.20.x.zip

Next, move the extracted directory to the Apache web root:

mv backdrop-1.20.x /var/www/html/backdrop

Next, change the ownership and permissions of the backdrop directory:

chown -R apache:apache /var/www/html/backdrop
chmod -R 755 /var/www/html/backdrop

Step 5 – Create an Apache Virtual Host for Backdrop CMS

Next, you will need to create an Apache virtual host configuration file for Backdrop CMS. You can create it with the following command:

nano /etc/httpd/conf.d/backdrop.conf

Add the following configurations:

<virtualhost *:80>
ServerAdmin [email protected]
ServerName backdrop.example.com
DocumentRoot /var/www/html/backdrop
<directory /var/www/html/backdrop>
allowoverride all
allow from all
</directory>
TransferLog /var/log/httpd/backdrop_access.log
ErrorLog /var/log/httpd/backdrop_error.log
</virtualhost>

Save and close the file, then restart the Apache service to apply the changes:

systemctl restart httpd

To check the Apache status, run the following command:

systemctl status httpd

You should see the Apache status in the following output:

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─php-fpm.conf
   Active: active (running) since Tue 2022-07-19 05:20:56 EDT; 7s ago
     Docs: man:httpd.service(8)
 Main PID: 32357 (httpd)
   Status: "Started, listening on: port 80"
    Tasks: 213 (limit: 11409)
   Memory: 24.4M
   CGroup: /system.slice/httpd.service
           ├─32357 /usr/sbin/httpd -DFOREGROUND
           ├─32359 /usr/sbin/httpd -DFOREGROUND
           ├─32360 /usr/sbin/httpd -DFOREGROUND
           ├─32361 /usr/sbin/httpd -DFOREGROUND
           └─32362 /usr/sbin/httpd -DFOREGROUND

Jul 19 05:20:55 oraclelinux8 systemd[1]: httpd.service: Succeeded.
Jul 19 05:20:55 oraclelinux8 systemd[1]: Stopped The Apache HTTP Server.
Jul 19 05:20:55 oraclelinux8 systemd[1]: Starting The Apache HTTP Server...

Step 6 – Access Backdrop CMS Web UI

Now, open your web browser and access the Backdrop CMS web interface using the URL http://backdrop.example.com. You should see the following screen:
Backdrop cms select language page
Select your language and click on the SAVE AND CONTINUE button. You should see the database configuration screen:
Backdrop cms database configuration page
Provide your database settings and click on the SAVE AND CONTINUE button. You should see the site configuration screen:
Backdrop cms site configuration page
Backdrop cms site configuration page 2
Provide your site information, admin username, password, email, time zone and click on the SAVE AND CONTINUE button. You should see the Backdrop CMS dashboard:
Backdrop cms dashboard page

Conclusion

In this post, we explained how to install Backdrop CMS on Oracle Linux 8. You can now start building modern, and comprehensive websites using the Backdrop CMS platform. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

How to Set Up Kubernetes Cluster Using Minikube on Arch Linux
How to Install Jenkins on Arch Linux
Which Compliance Standards Require an IPS?
Install Netdata Monitoring Tool on Arch Linux
How to Install Vue.js on Arch Linux

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Garland, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources