How to Install Backdrop CMS 1.13.2 Version Using LEMP on CentOS 7.6
Installation of Backdrop CMS 1.13.2
Backdrop is a free and open source CMS that helps us to build websites for businesses and non-profits.You can easily create content by formatiting text and uploading images.Backdrop CMS serves page fast even on shared hosting.Administrators can create and edit content from phones and tablets.It is designed with robust security.This video covers the method to install backdrop cms 1.13.2 version on centos 7.6 using LEMP Stack.
Pre-requisites:
LEMP Stack
CentOS 7.6
Nginx 1.17.0
MariaDB 10.3
PHP 7.2
PHP Modules:
php php-gd php-pdo php-mysql php-dom php-simplexml php-curl
Download Link :
https://github.com/backdrop/backdrop/releases/download/1.13.2/backdrop.zip
Installation procedure:
Change the directory to nginx document root directory
[root@linuxhelp ~]# cd /usr/share/nginx/html
Download the backdrop CMS using the link given above.
[root@linuxhelp html]# wget https://github.com/backdrop/backdrop/releases/download/1.13.2/backdrop.zip
--2019-06-14 01:35:57-- https://github.com/backdrop/backdrop/releases/download/1.13.2/backdrop.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/d6662c80-83cf-11e9-9790-8e488286f11b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190613T073207Z&X-Amz-Expires=300&X-Amz-Signature=bb058e7899f4994f3511bac90cbd67ff00b4509a44917b5d4286cce83d24a341&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dbackdrop.zip&response-content-type=application%2Foctet-stream [following]
--2019-06-14 01:35:57-- https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/d6662c80-83cf-11e9-9790-8e488286f11b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190613T073207Z&X-Amz-Expires=300&X-Amz-Signature=bb058e7899f4994f3511bac90cbd67ff00b4509a44917b5d4286cce83d24a341&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dbackdrop.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.107.12
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.107.12|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9459387 (9.0M) [application/octet-stream]
Saving to: ‘backdrop.zip’
100%[====================================================================================================>] 9,459,387 668KB/s in 13s
2019-06-14 01:36:12 (694 KB/s) - ‘backdrop.zip’ saved [9459387/9459387]
List the contents in the html directory to view the downloaded zip file of backdrop cms.
[root@linuxhelp html]# ll
total 9252
-rwxrwxr-x 1 nginx nginx 494 May 21 20:27 50x.html
-rw-r--r-- 1 root root 9459387 Jun 1 06:43 backdrop.zip
-rwxrwxr-x 1 nginx nginx 612 May 21 20:27 index.html
-rwxrwxr-x 1 nginx nginx 20 Jun 10 08:04 info.php
Extract the zip file of backdrop cms
[root@linuxhelp html]# unzip backdrop.zip
Archive: backdrop.zip
inflating: backdrop/sites/README.md
inflating: backdrop/sites/sites.php
inflating: backdrop/files/README.md
inflating: backdrop/files/.htaccess
inflating: backdrop/modules/README.md
inflating: backdrop/layouts/README.md
.
.
.
.
.
inflating: backdrop/themes/README.md
inflating: backdrop/.editorconfig
inflating: backdrop/index.php
inflating: backdrop/README.md
inflating: backdrop/.gitignore
inflating: backdrop/settings.php
inflating: backdrop/.htaccess
inflating: backdrop/robots.txt
List the contents to view the extracted files of backdrop cms.
[root@linuxhelp html]# ll
total 9252
-rwxrwxr-x 1 nginx nginx 494 May 21 20:27 50x.html
drwxr-xr-x 8 root root 216 Jun 14 01:36 backdrop
-rw-r--r-- 1 root root 9459387 Jun 1 06:43 backdrop.zip
-rwxrwxr-x 1 nginx nginx 612 May 21 20:27 index.html
-rwxrwxr-x 1 nginx nginx 20 Jun 10 08:04 info.php
Assign the ownership permissions to the newly created backdrop directory
[root@linuxhelp html]# chown -R nginx. backdrop
Assign Writable permissions to the backdrop directory
[root@linuxhelp html]# chmod -R 775 backdrop
Change the directory to backdrop to verify the ownership and permissions assigned.
[root@linuxhelp html]# cd backdrop/
List the contents to check the assigned permissions.
[root@linuxhelp backdrop]# ll
total 28
drwxrwxr-x 9 nginx nginx 240 Jun 14 01:36 core
drwxrwxr-x 2 nginx nginx 40 Jun 14 01:36 files
-rwxrwxr-x 1 nginx nginx 578 Jun 1 01:13 index.php
drwxrwxr-x 2 nginx nginx 23 Jun 14 01:36 layouts
drwxrwxr-x 2 nginx nginx 23 Jun 14 01:36 modules
-rwxrwxr-x 1 nginx nginx 3978 Jun 1 01:13 README.md
-rwxrwxr-x 1 nginx nginx 1216 Jun 1 01:13 robots.txt
-rwxrwxr-x 1 nginx nginx 15914 Jun 1 01:13 settings.php
drwxrwxr-x 2 nginx nginx 40 Jun 14 01:36 sites
drwxrwxr-x 2 nginx nginx 23 Jun 14 01:36 themes
Change the directory to nginx configuration file to create a virtual host
[root@linuxhelp backdrop]# cd /etc/nginx/conf.d/
Create a virtual host named backdrop as follows:
[root@linuxhelp conf.d]# vim backdrop
server {
listen 80;
server_name www.linuxhelp1.com;
root /usr/share/nginx/html/backdrop/;
index index.php index.html;
location ~* \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
}
Configure the MariaDB for BackDrop CMS using the root password.
[root@linuxhelp conf.d]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 23
Server version: 10.3.15-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 backdrop character set utf8mb4;
Query OK, 1 row affected (0.000 sec)
MariaDB [(none)]> use backdrop;
Database changed
MariaDB [backdrop]> grant all on backdrop.* to buser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.000 sec)
MariaDB [backdrop]> flush privileges;
Query OK, 0 rows affected (0.000 sec)
MariaDB [backdrop]> exit
Bye
Restart the fpm service
[root@linuxhelp conf.d]# systemctl restart php-fpm
[root@linuxhelp conf.d]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[root@linuxhelp conf.d]# systemctl restart nginx
Open the browser and enter the server name that you have customised In the virtual host then hit enter.
Choose the language and click on save to proceed further
Enter the database details that has configured inside the MariaDB for backdrop CMS.
Backdrop CMS is getting Installed

Create the login credentials for admin as follows:
Dashboard of linuxhelp1 site appears on the screen
With this, Installation of Backdrop CMS 1.13.2 version On CentOS 7.6 Using LEMP.
Comments ( 0 )
No comments available