In this article, we will show you how to install Monstra on Ubuntu 16.04 LTS. For those of you who don’t know, Monstra is a modern and lightweight content management system written in PHP. Monstra is one of the best CMS for small business management website development. Monstra provides awesome APIs for plugins, themes, and core developers.
This article assumes that you at least have basic Linux knowledge, know how to use the shell, and most importantly, you host your site on your own VPS. Installation is very simple and assumes you are running under the root account unless you can add “sudo” to the commands to gain superuser privileges. We will walk you through the installation of Monstra on an Ubuntu 16.04 (Xenial Xerus) server step by step.
Installing Monstra on Ubuntu 16.04 LTS
Step 1. System update.
First make sure all system packages are up to date by running these following apt-get commands in terminal.
sudo apt-get update sudo apt-get upgrade
Step 2. Installing LAMP (Linux, Apache, MariaDB and PHP) on the server.
Ubuntu 16.04 server requires LAMP. If you don’t have LAMP installed, you can follow our guide here. Also install all required PHP modules:
apt-get install php7.0-readline php7.0-curl php7.0-gd php7.0-mbstring libapache2-mod-php7.0 php7.0-mcrypt php7.0-bz2 php7.0-zip
Step 3. Installing Monstra.
The first thing to do is go to download page Monstra and download the latest stable version of Monstra.At the time of this writing, it is version 3.0.4:
Unpack the Monstra archive to the root directory on the server:
unzip monstra-3.0.4.zip mv monstra-3.0.4 /var/www/html/monstra
We will need to change some folder permissions:
chown -R www-data:www-data /var/www/html/monstra
Step 4. Configuring Apache Web Server for Monstra.
Create a new virtual host directive in Apache. For example, you can create a new Apache configuration file called “monstra.conf” on the virtual server:
touch /etc/apache2/sites-available/monstra.conf ln -s /etc/apache2/sites-available/monstra.conf /etc/apache2/sites-enabled/monstra.conf nano /etc/apache2/sites-available/monstra.conf
Add the following lines:
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/monstra ServerName your-domain.ru ServerAlias www.your-domain.ru <Directory /var/www/html/monstra> Options FollowSymLinks AllowOverride All </Directory> ErrorLog /var/log/apache2/your-domain.ru-error_log CustomLog /var/log/apache2/your-domain.ru-access_log common
Save and close the file. Restart the apache service for the changes to take effect:
systemctl restart apache2
Step 5. Getting access to Monstra.
Monstra will be available on HTTP port 80 by default. Open your favorite browser and go to http://yourdomain.com/install.php or HTTP: //server-ip/install.php and follow the necessary steps to complete the installation. If you are using a firewall, you need to open port 80 to allow access to the control panel.
Congratulations! You have successfully installed Monstra. Thanks for using this article to install Monstra CMS on Ubuntu 16.04 LTS (Xenial Xerus) system. For further assistance or useful information, we recommend that you check Monstra official website…