20 C
Saturday, April 4, 2020

How to Install Monstra CMS on a Centos Vps

Featured Posts

Daniel Arap Moi: the Making of a Kenyan ‘big Man’

Daniel arap Moi – Kenya’s president from 1978 to 2002 – has died at the grand age of 95. The only extended biography of...

Is Kendall Jenner Dating Anwar Hadid?

If the recent news about model Kendall Jenner is anything to go by then her relationship status is still up in the air. It...

Which One You Should Buy: Apple’s New Airpods vs. Old Airpods

Apple launched its second-generation of Airpods which came with new updates and features compared to the previous generation. You must have seen different articles...

All iTel Smartphones Firmware/ OS Updates (Free Download)

Good day and welcome. I used to think Itel doesn't make patches or updates for their devices as the update page in settings always...

Best Ways to Keep Your Remote Workers Productive

For many, it’s a dream come true for being able to work remotely in the comfort of their home. For parents working remotely, it...

Monstra is a modern and fast Content Management System (CMS) written in PHP. It has a tons of useful plugins and themes, and it is constantly developed by its developers. With its speed and simplicity, Monstra is a great publishing tool for personal and small-business websites. The installation of Monstra CMS is fairly easy and straightforward.


In this article we will show you how to install Monstra on a CentOS 7 VPS with Apache and PHP.  For this guide, we used a CentOS 7 VPS hosted by RoseHosting and it worked perfectly. If you can’t figure out how to install Monstra, you can use one of their Linux VPS Hosting services and their expert Linux admins will install Monstra for you.

Monstra has a few installation requirements:

You need to have PHP version 5.3.2 or higher, with SimpleXML and Multibyte String PHP extensions enabled.
You can use either Apache or Nginx as a web server. For the purposes of this tutorial we will use Apache.

If your virtual server meet these requirements, you can start installing Monstra.

Install Monstra on a CentOS 7 VPS with Apache

Log in to your CentOS server via SSH as user root

ssh root@your_IP

and as usual, run the following command to update all installed packages on your server

yum -y update

Install Apache web server

 yum install httpd

Start the web server and add it to automatically start on the system start-up:

systemctl start httpd
systemctl enable httpd

Monstra is a PHP based application, so run the following command to install PHP and the other required PHP extensions:

yum install php php-common php-xml php-mbstring

Download the latest stable release of Monstra from their official website to your server. At the moment of writing this article it is version 3.0.4.

wget https://bitbucket.org/Awilum/monstra/downloads/monstra-3.0.4.zip

Unpack the downloaded zip archive to the document root directory on your server:

yum -y install unzip
unzip monstra-3.0.3.zip -d /var/www/html

In general, the document root directory is /var/www/html, but to be sure you can use the following command to find out:

grep -i '^documentroot' /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"

Change the ownership of the Monstra files and directories:

chown -R apache:apache /var/www/html/monstra

Next, we will create an Apache virtual host for your domain. Create a ‘/etc/httpd/conf.d/vhosts.conf’ configuration file and add the following content to it:

vim /etc/httpd/conf.d/vhosts.conf
IncludeOptional vhosts.d/*.conf

Then, create a new directory named ‘vhosts.d’ and a new Apache configuration file named ‘yourdomain.com.conf’:

mkdir /etc/httpd/vhosts.d/
touch /etc/httpd/vhosts.d/yourdomain.com.conf

Edit the newly created Apache configuration file:

 vim /etc/httpd/vhosts.d/yourdomain.com.conf

and add the following virtual host directives to it:

<VirtualHost YOUR_SERVER_IP:80>
                ServerAdmin webmaster@yourdomain.com
                DocumentRoot "/var/www/html/monstra/"
                ServerName yourdomain.com
                ServerAlias www.yourdomain.com
                ErrorLog "/var/log/httpd/yourdomain.com-error_log"
                CustomLog "/var/log/httpd/yourdomain.com-access_log" combined
                <Directory "/var/www/html/monstra/">
                DirectoryIndex index.html index.php
                Options FollowSymLinks
                AllowOverride All
                Require all granted

Restart the Apache web server for the changes to take effect:

 systemctl restart httpd

Now, navigate your favorite web browser to http://yourdomain.com/install.php to finish the Monstra installation. On the first screen the wizard will check if your server meets all the installation requirements for running Monstra. If all requirements are met, on the next step you will have to enter your site name, and set the administrator account details. After you log in with your administrator account you can check out the great features Monstra has to offer and browse through the user interface.


More articles


Please enter your comment!
Please enter your name here

Trending Now.

Startimes Subscription Prices, Packages and Channels List in 2020

StarTimes Nigeria is one of the popular cable TV providers in Nigeria. This service is a subsidiary of a Chinese based company called Startimes...

Netflix Download Limit: What Is It and How You Can Get Around It?

Netflix introduced its 'download feature' for offline viewing back in 2016, allowing its users to download content and enjoy it offline while they are...

GB WhatsApp, WhatsApp Plus and OG WhatsApp Tips and Tricks

Checkout the new GB WhatsApp Tutorial.Hello, welcome to WhatsApp Plus, OG WhatsApp and GB WhatsApp tips and tricks. For the sake of this article,...

6 Different Types of Car Engines

An engine is the soul and heart of your car simply because it’s the most important part of a vehicle. It acts as the...

Best Low Size PC Action Games For Your Old PC/Laptop With Low Specs

Gaming time is one our favorite time and nothing beats the ability to play high-quality games on our PCs but like some of our...

DStv Channels List, Packages and Prices in 2020

Thousands of people in Nigeria have put their trust in DStv to provide them with the very best of television shows and programs.DStv (Digital...

10 Best Places to Download Bollywood Movies

Do you spend hours watching Bollywood movies as I do? Have you been in search of the perfect sites to download the best Hindi...

5 Best Blood Pressure Apps for Android

Blood pressure is the pressure the blood applies that on the walls of the vessels they use in travelling. There are two conditions relating...

MyGOtv App – Manage Your GOtv Account & Subscription Easily

Multichoice Nigeria, the owners of DStv and GOtv has recently launched a new mobile application called MyGOtv, for its popular digital platform, GOtv.According to...

Screen to Body Ratio: 22 Smartphones With the Highest Screen to Body Ratio in 2020

Screen to body ratio on a smartphone screen recently turned into an important thing to consider when comparing smartphones.  It became more important after...

Uses and Functions of ROM (Read-only Memory)

A computer is a very important device and besides being the best gadget to play your favorite video games or watching your favorite movies,...

All iTel Smartphones Firmware/ OS Updates (Free Download)

Good day and welcome. I used to think Itel doesn't make patches or updates for their devices as the update page in settings always...

Best Infinix Phones to Buy in 2020

Infinix Mobility is a well-known brand in Nigeria and a household name along with Tecno and Itel mobile are they mainly produce devices targeting...

WhatsApp Plus, GB WhatsApp and OG WhatsApp Tips and Trick for 2020

Official Plus, the makers of WhatsApp Plus, GB WhatsApp (not the one by GB Mods that was shut down) and OG WhatsApp released a...

How to Fix Home Key, Recent Key and Notification Bar Not Working?

There is a bug in the Android OS that dates back as far as the Lollipop Version and it is one of the most...