How to install Backdrop CMS on CentOS 7
To install Backdrop CMS on CentOS 7
Backdrop CMS is a full-featured content management system that allows 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 a web content using this CMS tool. This tutorial explains the installation process of Backdrop CMS on CentOS 7.
Pre-Requisite
LAMP Stack
- Apache
- MariaDB
- PHP 7 (mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml)
Installation procedure
To proceed with the installation procedure, go to its official website and get the package link for downloading it. Run the wget command followed by the download link.
[root@linuxhelp ~]# wget https://github.com/backdrop/backdrop/releases/download/1.8.0/backdrop.zip
--2017-09-28 10:58:20-- https://github.com/backdrop/backdrop/releases/download/1.8.0/backdrop.zip
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/b0233aca-9a6c-11e7-9ef1-585df82e2732?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170928%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20170928T052854Z& X-Amz-Expires=300& X-Amz-Signature=5fa61f9f6066c26bf34e19f1579b7d1dc9f5a1fb14449f947f03ee3130554161& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3Dbackdrop.zip& response-content-type=application%2Foctet-stream [following]
--2017-09-28 10:58:22-- https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/b0233aca-9a6c-11e7-9ef1-585df82e2732?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170928%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20170928T052854Z& X-Amz-Expires=300& X-Amz-Signature=5fa61f9f6066c26bf34e19f1579b7d1dc9f5a1fb14449f947f03ee3130554161& 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.65.168
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.65.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9245395 (8.8M) [application/octet-stream]
Saving to: ‘ backdrop.zip’
100%[======================================> ] 9,245,395 27.1KB/s in 5m 31s
2017-09-28 11:03:54 (27.2 KB/s) - ‘ backdrop.zip’ saved [9245395/9245395]
Extract the downloaded package in Apache root directory by running the unzip command.
[root@linuxhelp ~]# unzip backdrop.zip -d /var/www/html/
Archive: backdrop.zip
inflating: /var/www/html/backdrop/files/.htaccess
inflating: /var/www/html/backdrop/files/README.md
inflating: /var/www/html/backdrop/core/includes/database/mysql/query.inc
inflating: /var/www/html/backdrop/core/includes/database/mysql/install.inc
inflating: /var/www/html/backdrop/core/includes/database/mysql/database.inc
inflating: /var/www/html/backdrop/core/includes/database/mysql/schema.inc
inflating: /var/www/html/backdrop/core/includes/database/query.inc
inflating: /var/www/html/backdrop/core/includes/database/select.inc
inflating: /var/www/html/backdrop/core/includes/database/prefetch.inc
inflating: /var/www/html/backdrop/core/includes/database/database.inc
inflating: /var/www/html/backdrop/core/includes/database/schema.inc
inflating: /var/www/html/backdrop/core/includes/database/log.inc
inflating: /var/www/html/backdrop/core/includes/database/charset_converter.inc
.
.
.
.
inflating: /var/www/html/backdrop/robots.txt
inflating: /var/www/html/backdrop/.htaccess
inflating: /var/www/html/backdrop/.editorconfig
inflating: /var/www/html/backdrop/README.md
inflating: /var/www/html/backdrop/.gitignore
inflating: /var/www/html/backdrop/settings.php
Move the package to the Apache path and list the directories.
[root@linuxhelp ~]# cd /var/www/html/
[root@linuxhelp html]# ll
total 4
drwxr-xr-x 9 root root 4096 Sep 28 11:20 backdrop
Provide the owner permission and file execution permission by executing the following list of commands.
[root@linuxhelp html]# chown -R apache:apache /var/www/html/
[root@linuxhelp html]# chmod -R 777 /var/www/html/
Next open Apache configuration file by executing the following command and open it using vim editor. Make the following changes in the file and save it.
[root@linuxhelp backdrop]# vim /etc/httpd/conf/httpd.conf
ServerName www.linuxhelp1.com:80
Directoryindex index.html index.php
Restart your Apache service.
[root@linuxhelp backdrop]# systemctl restart httpd
Switch over to the browser and enter http://www.linuxhelp1.com /backdrop URL. The Backdrop installation wizard appears on the screen. Choose the required language and click save and continue.
Enter the required database details along with database username and password. Click Save and continue.
The installation is in progress and the user has to wait for some time.
Next enter the site details with the site name and create an user account.
Enter the email address along with password and save the changes.
The details have been entered. Now run the Backdrop CMS to see the site that you have created.
The installation procedure of Backdrop CMS on CentOS 7 is done successfully.
Comments ( 0 )
No comments available