• 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 on Debian 11.3.

  • 00:30 lsb_release -a
  • 00:40 sudo apt install apache2 mariadb-server php7.4 libapache2-mod-php7.4 php7.4-json php7.4-common php7.4-gmp php7.4-curl php7.4-mysql php7.4-zip php7.4-intl php7.4-json php7.4-sqlite3 php7.4-bcm
  • 00:52 wget https://github.com/backdrop/backdrop/archive/1.16.2.zip
  • 01:07 unzip 1.16.2.zip
  • 01:25 mv backdrop-1.16.2/ /var/www/backdrop
  • 01:54 chown -R www-data. /var/www/backdrop
  • 02:11 chmod -R 775 /var/www/backdrop/
  • 02:31 nano /etc/apache2/sites-available/backdrop.conf
  • 02:56 mysql -u root -p
  • 03:10 create database backdb;
  • 03:24 use backdb;
  • 03:35 create user buser@localhost identified by '123456';
  • 03:55 grant all on backdb.* to buser@localhost;
  • 04:17 flush privileges;
  • 04:30 exit
  • 04:37 vi /etc/hosts
  • 05:11 a2dissite 000-default.conf
  • 05:30 a2ensite backdrop.conf
  • 05:45 a2enmod rewrite
  • 05:59 systemctl restart apache2
{{postValue.id}}

To Install Backdrop CMS On Debian 11.3.

Introduction:

CMS means Content management system, a software that is used to manage the digital content. Backdrop CMS is a fork of the Drupal project and it is a fully-featured PHP Content Management System.

Prerequisites:

• Apache Web server

• Maria DB

• PHP and its Modules

Installation Steps:

Step 1: Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
No LSB modules are available.

Step 2: Install The PHP dependency packages by using the below command

root@linuxhelp:~# sudo apt install apache2 mariadb-server php7.4 libapache2-mod-php7.4 php7.4-json php7.4-common php7.4-gmp php7.4-curl php7.4-mysql php7.4-zip php7.4-intl php7.4-json php7.4-sqlite3 php7.4-bcmath php7.4-mbstring php7.4-xmlrpc php7.4-gd php7.4-cli php7.4-xml php7.4-zip php7.4-imap wget unzip -y

Step 3: Download backdrop CMS by using the below command

root@linuxhelp:~# wget https://github.com/backdrop/backdrop/archive/1.16.2.zip
--2022-06-22 03:48:01--  https://github.com/backdrop/backdrop/archive/1.16.2.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://codeload.github.com/backdrop/backdrop/zip/refs/tags/1.16.2 [following]
--2022-06-22 03:48:02--  https://codeload.github.com/backdrop/backdrop/zip/refs/tags/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  7.39MB/s    in 1.3s

2022-06-22 03:48:03 (7.39 MB/s) - ‘1.16.2.zip’ saved [9778715]

Step 4: Extract the downloaded file in backdrop directory by using the below command

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/
  inflating: backdrop-1.16.2/core/.jshintignore  
  inflating: backdrop-1.16.2/core/.jshintrc  
  inflating: backdrop-1.16.2/core/LICENSE.txt  
  inflating: backdrop-1.16.2/files/README.md  
  inflating: backdrop-1.16.2/index.php  
  creating: backdrop-1.16.2/layouts/
 inflating: backdrop-1.16.2/layouts/README.md  
  creating: backdrop-1.16.2/modules/
  inflating: backdrop-1.16.2/modules/README.md  
  inflating: backdrop-1.16.2/robots.txt  
  inflating: backdrop-1.16.2/settings.php  
   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 

Step 5: Move the Extracted files to the Apache home directory by using the below command

root@linuxhelp:~# mv backdrop-1.16.2/ /var/www/backdrop

Step 6: Ownership to the backdrop directory by using the below command

root@linuxhelp:~# chown -R www-data. /var/www/backdrop

Step 7: Change Permission to the backdrop directory by using the below command

root@linuxhelp:~# chmod -R 775 /var/www/backdrop/

Step 8: Create Virtual Host for the backdrop CMS by using the below command

root@linuxhelp:~# nano /etc/apache2/sites-available/backdrop.conf

<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/backdrop
<Directory /var/www/ backdrop>
AllowOverride All
allow from all
</Directory>
</virtualhost>

Step 9: Log in to the Maria DB by using the below command

root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 10.5.12-MariaDB-0ubuntu0.21.04.1 Ubuntu 21.04

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

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

Step 10: Create database for backdrop CMS by using the below command

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

Step 11: Select the backdrop database by using the below command

MariaDB [(none)]> use backdb;
Database changed

Step 12: Create a user named “buser” by using the below command

MariaDB [backdb]> create user buser@localhost identified by '123456';
Query OK, 0 rows affected (0.005 sec)

Step 13: Grant all privileges on backdrop database for the user “buser” by using the below command

MariaDB [backdb]> grant all on backdb.* to buser@localhost;
Query OK, 0 rows affected (0.001 sec)

Step 14: Flush privileges to make changes effect by using the below command

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

Step 15: Exit from the Maria DB by using the below command

MariaDB [backdb]> exit
Bye

Step 16: Make host entry for backdrop CMS by using the below command

root@linuxhelp:~# vi /etc/hosts

Step 17: Disable the default Virtual Host file of apache by using the below command

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2

Step 18: Enable the Virtual Host by using the below command

root@linuxhelp:~# a2ensite backdrop.conf
Enabling site backdrop.
To activate the new configuration, you need to run:
systemctl reload apache2

Step 19: Enable the read write module of Apache by using the below command

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Step 20: Restart the Apache webserver by using the below command

root@linuxhelp:~# systemctl restart apache2

Step 21: Ping server name in browser as shown in the below image snap 1

Step 22: Configure the Database credentials as shown in the below image snap 2

Step 23: Configure the Admin credentials as shown in the below image snap 3

Step 24: This is the Dashboard of backdrop CMS snap 4

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Backdrop CMS on Debian 11.3. Your feedback is much welcome.

Tags:
noah
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

From what Backdrop CMS is written?

A

Backdrop CMS is written in PHP.

Q

How to log in to the Maria DB?

A

To login into the Maria DB use the command "mysql -u -p".

Q

Difference between restart and reload services?

A

Reload will tell the service to reload its configuration files with keeping the process running.
Restart tells it to shut down entirely, then restart.

Q

What plugin allows to display of image layout in Backdrop CMS?

A

Masonry Gallery is a Views style plugin that allows displaying image layout in Backdrop CMS.

Q

Is the Backdrop is same as Drupal CMS?

A

Backdrop CMS is a fork of Drupal CMS.

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 Sebastian ?
How to change non required to required field in SuiteCRM Custom/Default Modules

How to change not required to the required field in SuiteCRM Custom/Default Modules?

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.