How to Install Backdrop CMS On Centos8

Installation Of Backdrop CMS On Centos8

Backdrop CMS is a full-featured CMS tool which is used for creating all kinds of web based content. You can create websites, blogs, image galleries, social networks and more with Backdrop CMS. It is very simple to use, that even users with minimal technical knowledge can easily create a web content using this CMS tool.This tutorial covers the installation of backdrop CMS on CentOS 8.

Installation process.

Check the centos version by using the following command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-8.2-2.2004.0.1.el8.x86_64

Download the backdrop cms installation package from its is official site

[root@linuxhelp ~]# wget https://github.com/backdrop/backdrop/archive/1.16.2.zip
--2020-07-31 03:24:51--  https://github.com/backdrop/backdrop/archive/1.16.2.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/backdrop/backdrop/zip/1.16.2 [following]
--2020-07-31 03:24:51--  https://codeload.github.com/backdrop/backdrop/zip/1.16.2
Resolving codeload.github.com (codeload.github.com)... 13.233.43.20
Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘1.16.2.zip’

1.16.2.zip                  [     <=>                      ]   9.33M   909KB/s    in 10s     

2020-07-31 03:25:03 (935 KB/s) - ‘1.16.2.zip’ saved [9778715]

Once the download is completed extract the backdrop cms

[root@linuxhelp ~]# unzip 1.16.2.zip
Archive:  1.16.2.zip
50fd5d6b79a4c82a42cd203688d4ffe05a062fd4
   creating: backdrop-1.16.2/
  inflating: backdrop-1.16.2/.editorconfig  
  inflating: backdrop-1.16.2/.gitignore  
  inflating: backdrop-1.16.2/.htaccess  
  inflating: backdrop-1.16.2/README.md  
   creating: backdrop-1.16.2/core/
.
.
   creating: backdrop-1.16.2/sites/
  inflating: backdrop-1.16.2/sites/README.md  
  inflating: backdrop-1.16.2/sites/sites.php  
   creating: backdrop-1.16.2/themes/
  inflating: backdrop-1.16.2/themes/README.md  

Set the ownership and permission for backdrop cms

[root@linuxhelp ~]# chown -R apache:apache /var/www/backdrop/
[root@linuxhelp ~]# chmod -R 755 /var/www/backdrop/

Configure the virtualhost for backdrop cms

[root@linuxhelp ~]# vim /etc/httpd/conf.d/backdrop.conf
<virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/backdrop
<directory /var/www/backdrop>
allowoverride all
require all granted
</directory>
</virtualhost>

Create a database for backdrop cms

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 22
Server version: 10.3.17-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database back_db;
Query OK, 1 row affected (0.003 sec)

MariaDB [(none)]> create user 'back_user'@localhost identified by 'Linuxc34';
Query OK, 0 rows affected (0.004 sec)

MariaDB [(none)]> grant all privileges on back_db.* to 'back_user' @localhost;
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> exit
Bye

Once all the step is completed restart the apache service

[root@linuxhelp ~]# systemctl restart httpd

Go to the browser and enter the domain name This is the welcome page of backdrop cms Configure the database for backdrop cms Installation procedure in process ] Configure the site information This is the dashboard of backdrop cms With this the installation of backdrop cms comes to end

FAQ
Q
What Kind of Database can be supported by Backdrop CMS?
A
Backdrop CMS supports MySQL or MariaDB 5.0.15 or higher
Q
What version of PHP is Supported by Backdrop CMS?
A
Backdrop CMS in Ubuntu requires PHP 5.4 or higher
Q
What are the required PHP Modules for Backdrop CMS?
A
The required PHP Modules for Backdrop CMS are php php-cli php-common php-gd php-mbstring php-mcrypt php-xml php-mysql
Q
What is Backdrop CMS?
A
Backdrop CMS is a full-featured content management system that permits non-technical users to manage a wide variety of content. It can be used to create all kinds of websites including blogs, image galleries, social networks, intranets, and more. It is very simple to use, that even users with minimal technical knowledge can easily create web content using this CMS tool.
Q
My web interface is not getting displayed it is showing a blank page on Backdrop CMS?
A
Check with the php module and also with the look at the apache error logs of Backdrop CMS.