In this tutorial, we will show you how to install Jamroom CMS on CentOS 7. For those of you who didn’t know, Jamroom is a community-focused open-source software web content management system (CMS) based on PHP and MySQL, which runs on a web hosting service. Features include a module-based extension system and skins using the Smarty templating engine.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you the step-by-step installation of Jamroom on the CentOS 7 server.
Prerequisites
- A server running one of the following operating systems: CentOS 7.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Jamroom CMS on CentOS 7
Step 1. First of all, make sure that all packages are up to date.
yum - update
Step 2. Install the LAMP server.
A CentOS 7 LAMP server is required. If you do not have LAMP installed, you can follow our guide here.
Step 3. Install Jamroom.
Download the latest stable version of Jamroom CMS, At the moment of writing this article it is version 5.2.37:
wget http://www.jamroom.net/networkmarket/core_download/jamroom-core-5.2.37.zip unzip jamroom-core-5.2.37.zip -d /var/www/html/ mv /var/www/html/jamroom-core-5.2.37/ /var/www/html/jamroom
We will need to change some folders permissions:
chown -R apache:apache /var/www/html/jamroom
Step 4. Configuring Apache webserver.
Create a new virtual host directive in Apache:
mkdir /etc/httpd/vhosts.d
Edit the ‘yourdomain.conf
’ configuration file:
nano /etc/httpd/vhosts.d/yourdomain.conf
Add the following lines to it:
<VirtualHost YOUR_SERVER_IP:80> ServerAdmin webmaster@yourdomain.com DocumentRoot "/var/www/html/jamroom" 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/yourdomain.com/"> DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
Now, we can restart Apache so that the changes take place:
systemctl restart httpd.service
Step 5. Accessing Jamroom.
Jamroom content management system will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/install.php
or http://server-ip/install.php
and complete the required steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.
Congratulations! You have successfully installed Jamroom. Thanks for using this tutorial for installing a Jamroom content management system in CentOS 7 system. For additional help or useful information, we recommend you check the official Jamroom website.