How to Install Monstra CMS on centos 8

How to install monstra cms on centos 8

Introduction:

Monstra is an open source, modern and lightweight CMS application wich is easy to install and upgrade within a few steps. It contains various APIs for plugins, themes, and core development. It is secure and SEO friendly. In this tutorial, we will see the installation of Monstra cms on CentOS 8.

Installation Process:

Check the centos version by using command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-8.1-1.1911.0.8.el8.x86_64

Download the monstra cms by using the following command

[root@linuxhelp ~]# wget https://github.com/monstra-cms/monstra/archive/dev.zip
--2020-08-20 11:35:55--  https://github.com/monstra-cms/monstra/archive/dev.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/monstra-cms/monstra/zip/dev [following]
--2020-08-20 11:35:56--  https://codeload.github.com/monstra-cms/monstra/zip/dev
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘dev.zip’
dev.zip                      [             <=>                  ]   1.63M   628KB/s    in 2.7s    
2020-08-20 11:36:00 (628 KB/s) - ‘dev.zip’ saved [1706085]

Extract the downloaded file by using the following command

[root@linuxhelp ~]# unzip dev.zip 
Archive:  dev.zip
1ff51860eaba83e8ab91d5deb1d6b157e0847455
  creating: monstra-dev/
 inflating: monstra-dev/.gitignore  
 inflating: monstra-dev/.htaccess   
 inflating: monstra-dev/CHANGELOG.md  
 inflating: monstra-dev/LICENSE.md  
 inflating: monstra-dev/README.md   
  creating: monstra-dev/admin/
 inflating: monstra-dev/admin/index.php  
  creating: monstra-dev/admin/themes/
  creating: monstra-dev/admin/themes/default/
  creating: monstra-dev/admin/themes/default/css/
 inflating: monstra-dev/admin/themes/default/css/default.css  
.
.
  creating: monstra-dev/tmp/cache/
extracting: monstra-dev/tmp/cache/.empty  
  creating: monstra-dev/tmp/logs/
extracting: monstra-dev/tmp/logs/.empty  
  creating: monstra-dev/tmp/minify/
extracting: monstra-dev/tmp/minify/.empty  
extracting: monstra-dev/tmp/minify/.htaccess  

Move the montra cms to apache root directory

[root@linuxhelp ~]# mv monstra-dev/ /var/www/monstra

Set the ownership for monstra cms

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

Set the permission for monstra cms

[root@linuxhelp ~]# chmod -R 755 /var/www/monstra

Configure the virtualhost for monstra cms

[root@linuxhelp ~]# vim /etc/httpd/conf.d/monstra.conf
<virtualhost *:80>
       Servername www.linuxhelp1.com
       Documentroot /var/www/monstra
<directory /var/www/monstra>
allowoverride all
allow from all
</directory>
</virtualhost>

Once all the setup is completed Restart the apache service

 [root@linuxhelp ~]# systemctl restart httpd

Go to browser and enter the domain name This is the requirement for monstra cms Configure the site details This is the welcome page of monstra cms Login the monstra cms using admin credentials This is the dashboard of monstra cms With this the installation of Monstra CMS on CentOS 8 comes to end.

FAQ
Q
5) How to get the Github repository of the Monstra CMS?
A
For accessing the Github repository of the Monstra CMS, use the following link as given below
"https://github.com/monstra-cms/monstra"
Q
4) What are the Features available in Monstra CMS?
A
The following things are Monstra CMS Features,

• Easy to install, upgrade and use. ...

• No database required, flat files only.

• Monstra provides amazing api's for plugins, themes and core developers!
Q
3) What is system requirement for using the Monstra CMS?
A
Operation system: Unix, Linux, Windows, Mac OS

Middleware: PHP 5.2.3 or higher with PHP's SimpleXML module and Multibyte String module

Webserver: Apache with Mod Rewrite or Ngnix with Rewrite Module
Q
2) is there alternative of monstra cms?
A
The alternatives are,
WordPress
Drupal
Good
Q
1) What are the Pre-requirements in Monstra cms?
A
Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)