How to Install Monstra CMS on RHEL7.6
- 00:36 cat /etc/os-release
- 00:44 wget https://github.com/monstra-cms/monstra/archive/dev.zip
- 00:57 unzip dev.zip
- 01:10 mv monstra-dev /var/www/monstra
- 01:23 chown -R apache. /var/www/monstra/
- 01:34 chmod -R 755 /var/www/monstra/
- 01:46 vim /etc/httpd/conf.d/mostra.conf
- 02:22 systemctl restart httpd
- 02:32 vim /etc/hosts
How to Install Monstra CMS on RHEL7.6
Introduction:
Monstra is an open source and easy to install CMS application which you can easily upgradeas well. It contains various API for plugins, themes, and core development. Monstra is highly secure CMS tool. In this tutorial, we are going to learn about the method to insall Monstra CMS on RHEL 7.6
Prerequisite:
Apache
PHP and Modules(php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap)
Installation Process:
Use the below command to check installed version of OS
[root@linuxhelp ~]# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
Download the Monstra cms using below link
[root@linuxhelp ~]# wget https://github.com/monstra-cms/monstra/archive/dev.zip
--2020-09-04 12:50:29-- 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
….
…
Saving to: ‘dev.zip’
[ <=> ] 17,06,085 980KB/s in 1.7s
2020-09-04 12:50:32 (980 KB/s) - ‘dev.zip’ saved [1706085]
Unzip the downloaded zip file using below 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
….
….
creating: monstra-dev/tmp/minify/
extracting: monstra-dev/tmp/minify/.empty
extracting: monstra-dev/tmp/minify/.htaccess
Now, move the unzipped directory under apache root
[root@linuxhelp ~]# mv monstra-dev /var/www/monstra
Then, we have to configure ownership and permission for the monstra directory
[root@linuxhelp ~]# chown -R apache. /var/www/monstra/
[root@linuxhelp ~]# chmod -R 755 /var/www/monstra/
Use the below command to configure the virtualhost for your site
[root@linuxhelp ~]# vim /etc/httpd/conf.d/mostra.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/monstra
<directory /var/www/monstra>
allowoverride all
allow from all
</directory>
</virtualhost>
Once configuration is completed restart the apache service to update the changes
[root@linuxhelp ~]# systemctl restart httpd
Edit the host configuration file with the command
[root@linuxhelp ~]# vim /etc/hosts
<provide-you-ip> <your-domain-name>
Navigate to Browser and provide your domain in new tab

Click on continue

Configure the admin account then click on install option

In welcome page click on logged in option to visit the admin login page

Provide the admin credential then click on login


With this, the method to install Monstra comes to an end.
Comments ( 0 )
No comments available