24 C
Lagos
Wednesday, September 23, 2020

How to Install Monstra CMS on a Centos Vps

- Advertisement - data-full-width-responsive="false">

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.

- Advertisement -

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:

Advertisement
data-full-width-responsive="true">
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
                </Directory>
</VirtualHost>

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

Advertisement
data-full-width-responsive="true">
 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.

- Advertisement -
Kingsley Felixhttps://kraftysprouts.media
Based in Port Harcourt, Nigeria. I am the founder of Krafty Sprouts Media, LLC (US), i make sure thing run smoothly and well organized in our organization. Follow me on my social media platforms.
- Advertisement -

Trending Now

6 Sneaky Spy Cams That Will Fool You

Some people think that their spouse doesn’t have any reason to spy on them. What about your boss? How will he be aware of...
- Advertisement -

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...

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...

Big Brother Naija 2020: How to Vote Using MyDStv, MyGOtv App?

Big Brother Naija pepper dem has been everything hot and spicy since it started, and Big brother keeps serving us the viewers...

7 Best Offline Racing Games for Android Users in 2020

Are you a real gamer? If you are one, then you will know how exciting it can be to experience the adrenaline rush that...

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,...

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...

9+ Infinix Phones With Best Camera in 2020

People purchase smartphones for different reasons, and it is no brainer that the camera specifications is one of the features they look out for...

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...

How to Recover Lost Snapchat Account?

Losing a Snapchat account can be disastrous as many of us use the Social for private purposes and its privacy oriented features. Forgetting passwords...

GB WhatsApp Pro, OG WhatsApp Pro V8.10 (GB OG Replacements) Latest Version

Good day peeps, the latest GBWhatsApp is here... and it is called the GB WhatsApp Pro Remember earlier, GB Mods the maker of GB WhatsApp...
- Advertisement -

Related Posts

*326#: How to Use Ecobank USSD Code

This article will talk about all you need to know about EcoBank mobile banking, how to use USSD with Ecobank to manage...

8 Samsung Galaxy S8 Tips and Tricks

The Samsung Galaxy S8 and Galaxy S8+ ar Samsung's most formidable phones nevertheless. whereas the switch to a eighteen.5:9 facet show is probably going...

Best Polytechnic in Nigeria

Nigeria Polytechnics have always been a resource for many applicants and students who want to enroll in a country of Nigeria, primarily...

How to Get Free Mobile Hotspot From Your Android Phone

While most carriers currently supply some form of unlimited arrange, however most of those have some restrictions (which is that the textbook definition of...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.