How to install Backdrop CMS on OpenSUSE 42.3

To install Backdrop CMS on OpenSUSE 42.3

In our precursory tutorial, we have been briefed about the installation process of Backdrop CMS on CentOS 7 using LEMP. In this tutorial, we will see about the installation procedure of Backdrop CMS on OpenSUSE 42.3. Backdrop CMS is a full-featured content management system that permits the non-technical users to manage 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.

Pre-Requisite
LAMP Setup
- Apache
- MariaDB
- PHP 7 along with the dependencies (php php-cli php-mbstring php-mysql php-gd php-mcrypt php-imap libmhash2 mcrypt)

Installation procedure

To proceed with the installation procedure, download the package using wget command followed by the download link.

linuxhelp:~ # wget https://github.com/backdrop/backdrop/releases/download/1.6.0/backdrop.zip
--2017-10-21 13:57:22--  https://github.com/backdrop/backdrop/releases/download/1.6.0/backdrop.zip
Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/451c857a-db58-11e6-8922-9c0129f44e72?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171021%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20171021T082759Z& X-Amz-Expires=300& X-Amz-Signature=a61562b3e54c4b6ec0f81e0ec49f9f76977a9746c4cca2e293900d9fa70a380f& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3Dbackdrop.zip& response-content-type=application%2Foctet-stream [following]
--2017-10-21 13:57:23--  https://github-production-release-asset-2e65be.s3.amazonaws.com/12285928/451c857a-db58-11e6-8922-9c0129f44e72?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171021%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20171021T082759Z& X-Amz-Expires=300& X-Amz-Signature=a61562b3e54c4b6ec0f81e0ec49f9f76977a9746c4cca2e293900d9fa70a380f& 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.160.59
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.160.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9234088 (8.8M) [application/octet-stream]
Saving to: ‘ backdrop.zip’ 

100%[==============================================================================================================================================> ] 9,234,088   67.2KB/s   in 68s    

2017-10-21 13:58:32 (132 KB/s) - ‘ backdrop.zip’  saved [9234088/9234088]


Extract the package in Apache root directory by executing the unzip command.

linuxhelp:~ # unzip backdrop.zip -d /srv/www/htdocs/
Archive:  backdrop.zip
  inflating: /srv/www/htdocs/backdrop/files/.htaccess  
  inflating: /srv/www/htdocs/backdrop/files/README.md  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/mysql/query.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/mysql/install.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/mysql/database.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/mysql/schema.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/query.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/select.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/prefetch.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/database.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/schema.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/log.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/database/charset_converter.inc  
  inflating: /srv/www/htdocs/backdrop/core/includes/transliteration/x6c.php  
  inflating: /srv/www/htdocs/backdrop/core/includes/transliteration/x4b.php  
  inflating: /srv/www/htdocs/backdrop/core/includes/transliteration/xb7.php  
  inflating: /srv/www/htdocs/backdrop/core/includes/transliteration/x4c.php  
  inflating: /srv/www/htdocs/backdrop/core/includes/transliteration/xae.php
.
.
.
.
inflating: /srv/www/htdocs/backdrop/themes/README.md  
  inflating: /srv/www/htdocs/backdrop/sites/sites.php  
  inflating: /srv/www/htdocs/backdrop/sites/README.md  
  inflating: /srv/www/htdocs/backdrop/index.php  
  inflating: /srv/www/htdocs/backdrop/robots.txt  
  inflating: /srv/www/htdocs/backdrop/.htaccess  
  inflating: /srv/www/htdocs/backdrop/README.md  
  inflating: /srv/www/htdocs/backdrop/.gitignore  
  inflating: /srv/www/htdocs/backdrop/settings.php  

Move to the Apache document path and list the files in the specified location.

linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ll
total 12
drwxr-xr-x 9 root   root 4096 Oct 21 13:58 backdrop
drwxrwxrwx 2 wwwrun www  4096 Oct  9 23:15 gif
-rwxrwxrwx 1 wwwrun www  2356 Mar 18  2017 info2html.css

Provide the owner permission and file execution permission by running the following commands.

linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 777 /srv/www/htdocs/

Next configure the Virtual host file for Backdrop CMS using vim editor and enter the following content in the file. Save and exit the file.

linuxhelp:/srv/www/htdocs/backdrop # vim /etc/apache2/conf.d/backdrop.conf
< VirtualHost *:80> 
DocumentRoot " /srv/www/htdocs" 
ServerName www.linuxhelp1.com
< Directory " /srv/www/htdocs/" > 
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory> 
< /VirtualHost> 

Restart the Apache service by executing the following command.

linuxhelp:/srv/www/htdocs/backdrop # systemctl restart apache2  

Switch over to the browser and type the URL as http://www.linuxhelp1.com/backdropcms. The installation wizard of the Backdrop CMS appears on the screen. Choose the required language and click Save and Continue option.

Enter the following database configuration details and click Save and Continue option to navigate to next page.

The installation is in progress and now the user has to wait for sometime to complete with the installation progress.

Next enter the site information and create a new user for Backdrop CMS

Set the default time zone for the system and click Save and Continue option.

The dashboard of Backdrop CMS appears on the screen. You can now run the website that you have created from the dashboard.


Thus we conclude the installation procedure of Backdrop CMS on OpenSUSE 42.3.

FAQ
Q
What type of Permission should be assigned for Backdrop CMS ?
A
The files directory in the Backdrop root must be writable by the webserver.



If the user who logs into the server (either by ftp or ssh) is myuser and the webserver user is www-data
Q
What version of PHP is Supported by Backdrop CMS?
A
Backdrop CMS in Ubuntu requires PHP 5.3.2 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 (with PDO)
Q
What Webserver can be used to configure Backdrop CMS in Ubuntu
A
Apache Is recommended but also you can use nginx for configuring Backdrop CMS
Q
How much Disk Space Backdrop CMS requires ?
A
A minimum installation requires 15 MB. A website with many contributed modules and themes installed may need 60 MB or more. A lot more space may be required for the database and files or media uploaded by the website's users.