GICT knowledge base
How to Install Monstra CMS on Centos
Published
How to Install Monstra CMS on Centos
Monstra is a modern and fast Content Management System (CMS). It is written in PHP and uses MySQL to store its data. The installation of Monstra CMS is fairly easy and straightforward. Monstra is a lightweight content management system which is easy to use and upgrade. Here we can learn how to install Monstra on a CentOS 7 VPS with Apache and PHP.
Requirements of Monstra
Webserver: – We can use either Apache or Nginx as a web server. Here we are using Apache web server.
PHP: – You need to have PHP version 5.3. or higher, with SimpleXML and Multibyte String PHP extensions enabled.
Mysql: – Every web application, simple or complicated, requires a database for storing collected data.
Install Monstra (Centos 7)
1) Log in to your server via SSH as root user.
# ssh root@your_IP
2) Run the following command to update all installed packages on your server.
# yum -y update
3) Use the following command to install PHP and the other required PHP extensions, because Monstra is a PHP based application.
# yum install php php-common php-xml php-mbstring
4) If you need to install Monstra in the home directory of a particular user. Then switch to that user and download the file. Here, we are switching to the user “test” and also it is the document root of my domain “mydomain.com”.
root@Monstra:~# su – test
test@Monstra:~$ pwd
/home/test
5) Download the latest and stable release of Monstra from their official website to your server by using “wget” command.
# wget https://bitbucket.org/Awilum/monstra/downloads/monstra-3.0.4.zip
6) Unpack the downloaded zip archive.
# unzip monstra-3.0.4.zip
7) Change the ownership of the Monstra files and directories by using chown command.
8) Now we need to create database and database user for Monstra CMS.
For this, we need to log into the MySQL shell as the root user by running the following command.
# mysql -u root -p
You should provide the correct password for the Mysql root user to log in.
Use the following command to create the Database for Monstra.
# create database db_monstra;
Use the following command to create the Database User for Monstra.
# create user ‘user_monstra’@’localhost’ identified by ‘monstrapassword’;
Here “user_monstra” is the MySQL user name and “monstrapassword” is the password for the database “db_monstra”.
Now we have to grant privileges for the user to access the database. You can use the following commands for this.
#grant all privileges on db_monstra. * to user_monstra@localhost identified by ‘monstrapassword’;
Use the following command to flush all privileges.
# flush privileges;
Use the following command to exit from the Mysql server.
# exit
9) Your Monstra CMS installation is now complete. You can finish configuring Monstra through your web browser.
Here, we are using http://mydomain.com/install.php in the browser.
Please do reach our support department if you need any further help.
Related guides
How to Install and Uninstall Imunify360?
In this tutorial, we can check how to install Imunify360. Imunify360 is an automated security solution with multi-layer defense architecture for Linux
CentOSInstall and Configure mod_evasive on CentOS
How to Install and Configure mod_evasive Apache on CentOS? The mod_evasive module for Apache that takes evasive action to protect Apache during the time
CentOSHow to Install Laravel on CentOS 6/7
How to Install Laravel on CentOS 6/7Laravel is a free, open-source MVC PHP web framework intended for the development of full-featured web applications.
CentOSHow to Setup and Install FirewallD on CentOS 7
How to Setup and Install FirewallD on CentOS 7. Many Linux distributions have a firewalld as their firewall management solution, and it acts as a front-end
