{"id":16762,"date":"2015-01-21T14:26:36","date_gmt":"2015-01-21T20:26:36","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=16762"},"modified":"2022-12-16T03:23:02","modified_gmt":"2022-12-16T09:23:02","slug":"install-jamroom-cms-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-jamroom-cms-on-a-centos-7-vps\/","title":{"rendered":"Install Jamroom CMS on a CentOS 7 VPS"},"content":{"rendered":"
Jamroom is powerful. fast and flexible community CMS based on PHP and MySQL. In this article we will show you how to install Jamroom on a CentOS 7 VPS<\/a> with Apache, MariaDB and PHP.<\/p>\n <\/p>\n In order to run Jamroom, your server should meet the following requirements Log in to your Linux VPS<\/a> as user root and first of all make sure that all packages are up to date<\/p>\n Install Apache web server executing the following command<\/p>\n Start the web server and enable it to start at boot<\/p>\n Install PHP and a few PHP extensions required by Jamroom<\/p>\n Now, we will install MariaDB<\/p>\n Start MariaDB and add it to automatically start on system start-up<\/p>\n Run the following command to secure your MariaDB server and set a new root passord<\/p>\n Create new database and user for Jamroom<\/p>\n Go to Jamroom’s official website and download the latest stable version<\/p>\n The downloaded file is in zip format, so we need to install unzip to unpack the archive<\/p>\n Unpack the zip archive to the document root directory<\/p>\n Change the owner of the Jamroom files<\/p>\n Now, we will set up Apache virtual hosting directive for your Jamroom website.<\/p>\n Create a \u2018\/etc\/httpd\/conf.d\/vhosts.conf\u2019 file with the following content and create a ‘\/etc\/httpd\/vhosts.d’ directory where we will put all our virtual hosts.<\/p>\n Create a virtual host for your Jamroom domain<\/p>\n With this step the installation from the command line is completed. Now, open your favorite web browser and head it to http:\/\/yourdomain.com\/install.php and follow the on-screen instructions to finish the installation<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to set this up for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" Jamroom is powerful. fast and flexible community CMS based on PHP and MySQL. In this article we will show you … <\/p>\n
\nPHP 5.3+
\nMySQL 5.1+<\/p>\nyum -y update<\/pre>\n
yum install httpd<\/pre>\n
systemctl start httpd\r\nsystemctl enable httpd<\/pre>\n
yum install php php-mysql php-gd php-mbstring<\/pre>\n
yum install mariadb-server mariadb<\/pre>\n
systemctl start mariadb.service\r\nsystemctl enable mariadb.service<\/pre>\n
mysql_secure_installation<\/pre>\n
MariaDB [(none)]> create database jamroom;\r\nMariaDB [(none)]> GRANT ALL PRIVILEGES ON jamroom.* TO 'jamroomuser'@'localhost' IDENTIFIED BY 'PASSWORD';\r\nMariaDB [(none)]> flush privileges;\r\nMariaDB [(none)]>> \\q;<\/pre>\n
wget http:\/\/www.jamroom.net\/networkmarket\/core_download\/jamroom-core-5.2.20.zip<\/pre>\n
yum -y install unzip<\/pre>\n
unzip jamroom-core-5.2.20.zip -d \/var\/www\/html\/\r\nmv \/var\/www\/html\/jamroom-core-5.2.20\/ \/var\/www\/html\/jamroom<\/pre>\n
chown -R apache:apache \/var\/www\/html\/jamroom<\/pre>\n
\nIncludeOptional vhosts.d\/*.conf<\/p>\nmkdir \/etc\/httpd\/vhosts.d<\/pre>\n
vim \/etc\/httpd\/vhosts.d\/yourdomain.conf\r\n\r\n<VirtualHost YOUR_SERVER_IP:80>\r\nServerAdmin webmaster@yourdomain.com\r\nDocumentRoot \"\/var\/www\/html\/jamroom\"\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\nErrorLog \"\/var\/log\/httpd\/yourdomain.com-error_log\"\r\nCustomLog \"\/var\/log\/httpd\/yourdomain.com-access_log\" combined\r\n\r\n<Directory \"\/var\/www\/html\/yourdomain.com\/\">\r\nDirectoryIndex index.php\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n<\/Directory>\r\n<\/VirtualHost><\/pre>\n