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 through the step by step installation Jamroom on CentOS 7 server.
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 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 web server.
Create a new virtual host directive in Apache:
Edit the ‘yourdomain.conf’ configuration file:
Add the following lines to it:
<VirtualHost YOUR_SERVER_IP:80> ServerAdmin email@example.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 favourite 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 to check the official Jamroom web site.