• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Backdrop cms in centos 7.5

  • 0:44 rpm -q centos-release
  • 0:58 yum install httpd
  • 6:4 vim /etc/httpd/conf.d/backdrop.conf
  • 1:44 yum install mariadb mariadb-server
  • 2:29 mysql_secure_installation
  • 2:59 yum install php php-cli php-common php-gd php-mbstring php-mcrypt php-xml php-mysql
  • 3:17 systemctl restart httpd
  • 3:28 mysql -u root -p
  • 5:19 wget https://github.com/backdrop/backdrop/releases/download/1.12.5/backdrop.zip
  • 5:36 unzip backdrop.zip
  • 5:56 mv backdrop /var/www/
  • 6:18 chown -R apache:apache /var/www/backdrop
  • 7:29 vim /etc/hosts
  • 7:53 systemctl restart httpd
{{postValue.id}}

Installation of backdrop cms using lamp in centos 7.5

Backdrop CMS is a full-featured CMS tool which is used for creating all kinds of web based content including sites, blogs, image galleries, social networks 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. Installation of Backdrop CMS in centos 7.5 is explained in this tutorial

Checking centos version

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64

lamp configuration

Install the apache by using the Following command

[root@linuxhelp ~]# yum install httpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.myfahim.com
 * epel: mirror.horizon.vn
 * extras: centos.myfahim.com
 * remi-php70: remi.xpg.com.br
 * remi-safe: remi.xpg.com.br
 * updates: centos.myfahim.com
Installed:
  httpd.x86_64 0:2.4.6-88.el7.centos                                                                 
Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7_4.1                           apr-util.x86_64 0:1.5.2-6.el7              
  httpd-tools.x86_64 0:2.4.6-88.el7.centos               mailcap.noarch 0:2.1.41-2.el7              
Complete!

Once the Installation of apache Is completed start the service

[root@linuxhelp ~]# systemctl start httpd

Enable the service of apache by using the Following Command

[root@linuxhelp ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

Next step will be installing mariadb and mariadb-server

[root@linuxhelp ~]# yum install mariadb mariadb-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repos.del.extreme-ix.org
 * epel: fedora.cs.nctu.edu.tw
 * extras: mirrors.viethosting.com
 * remi-php70: mirror.bebout.net
 * remi-safe: mirror.bebout.net
 * updates: mirrors.vhost.vn
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.60-1.el7_5 will be installed
Dependency Updated:
  mariadb-libs.x86_64 1:5.5.60-1.el7_5                                                              
Complete!

Once the mariadb Installation is completed start the service

[root@linuxhelp ~]# systemctl start mariadb

Enable the mariadb service by using the Following command

[root@linuxhelp ~]# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.

After completing secure the root password for mysql database as Follows

[root@linuxhelp ~]#  mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none): 
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] y
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
 ... Success!
Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
 ... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
 ... Success!
Cleaning up...
All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!

Once mariadb is Installed, install the php and php modules

[root@linuxhelp ~] # yum install php php-cli php-common php-gd php-mbstring php-mcrypt php-xml php-mysql 
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.nhanhoa.com
 * epel: repo.ugm.ac.id
 * extras: mirror.dhakacom.com
 * remi-php70: mirror.reconn.ru
 * remi-safe: mirror.reconn.ru
 * updates: mirror.dhakacom.com
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-7.0.33-5.el7.remi.x86_64 instead
Resolving Dependencies
--> Running transaction check
  php-common.x86_64 0:7.0.33-5.el7.remi              php-gd.x86_64 0:7.0.33-5.el7.remi               
  php-mbstring.x86_64 0:7.0.33-5.el7.remi            php-mcrypt.x86_64 0:7.0.33-5.el7.remi           
  php-mysqlnd.x86_64 0:7.0.33-5.el7.remi             php-xml.x86_64 0:7.0.33-5.el7.remi              

Dependency Installed:
  gd-last.x86_64 0:2.2.5-8.el7.remi                libmcrypt.x86_64 0:2.5.8-13.el7                  
  libwebp7.x86_64 0:1.0.2-1.el7.remi               php-json.x86_64 0:7.0.33-5.el7.remi              
  php-pdo.x86_64 0:7.0.33-5.el7.remi              
Complete!

Restart the apache service by using following command

[root@linuxhelp ~]# systemctl restart httpd

Next,Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 11
Server version: 5.5.60-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 backdrop1;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'backuser1'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on backdrop1.* to 'backuser1'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted

Once the database configuration is done, Download the Backdrop cms by using the following command.

[root@linuxhelp ~]#wget https://github.com/backdrop/backdrop/releases/download/1.12.5/backdrop.zip
--2019-03-28 04:56:01--  https://github.com/backdrop/backdrop/releases/download/1.12.5/backdrop.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.184.83
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.184.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9411728 (9.0M) [application/octet-stream]
Saving to: ‘backdrop.zip’
100%[===========================================================>] 9,411,728   1.02MB/s   in 9.6s   
2019-03-28 04:56:13 (959 KB/s) - ‘backdrop.zip’ saved [9411728/9411728]

Once the installation package is downloaded, Extract it as follows.

[root@linuxhelp ~]#unzip  backdrop.zip
  inflating: backdrop/modules/README.md  
  inflating: backdrop/layouts/README.md  
  inflating: backdrop/themes/README.md  
  inflating: backdrop/sites/sites.php  
  inflating: backdrop/sites/README.md  
  inflating: backdrop/index.php      
  inflating: backdrop/robots.txt     
  inflating: backdrop/.htaccess      
  inflating: backdrop/.editorconfig  
  inflating: backdrop/README.md      
  inflating: backdrop/.gitignore     
  inflating: backdrop/settings.php   

Now move the Backdrop directory to /var/www/ location.

[root@linuxhelp ~] # mv backdrop /var/www/

And then, change the ownership for the Backdrop directory with the help of the following command.

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

Next step is very crucial.Configure the Apache VirtualHost for Backdrop. Open the .conf file for Backdrop.

[root@linuxhelp ~] # vim /etc/httpd/conf.d/backdrop.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/backdrop
</Virtualhost>

Configure the host entry by using the following command

[root@linuxhelp ~]# vim /etc/hosts
<ipaddress> <domainname>

Once it is completed,Restart the Apache Web Server by running the following command

[root@linuxhelp ~] # systemctl restart httpd

Once It completed enter into browser and enter your domain name Choose required language and select Save and Continue option snap1

Then configure the Database and database username snap2

Installation process is completed snap3

Next create an user account by entering the required details. snap4

Select the time zone as per the requirements. snap5

This the backdrop cms dashboard snap6

From this installation of backdrop cms in centos 7.5 comes to an end.

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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.

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

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 version of PHP is Supported by Backdrop CMS?

A

Backdrop CMS in Ubuntu requires PHP 5.4 or higher

Q

What Kind of Database can be supported by Backdrop CMS?

A

Backdrop CMS supports MySQL or MariaDB 5.0.15 or higher

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.