{"id":18004,"date":"2015-12-08T15:15:53","date_gmt":"2015-12-08T21:15:53","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18004"},"modified":"2022-06-03T03:44:00","modified_gmt":"2022-06-03T08:44:00","slug":"how-to-install-jamroom-on-a-debian-8-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jamroom-on-a-debian-8-vps\/","title":{"rendered":"How to Install Jamroom on a Debian 8 VPS"},"content":{"rendered":"
This step by step tutorial will show you how to install Jamroom on a Debian 8 VPS<\/strong> with Apache, PHP and MySQL installed on it.<\/p>\n Jamroom is an open source CMS system written in PHP, mainly used by website developers for creating community websites. Jamroom is very easy to get started with and it has good documentation. Jamroom requires:<\/p>\n Make sure that all OS packages on your virtual server are up to date:<\/p>\n This install guide assumes that Apache and MySQL are already installed and configured on your virtual server, so run the following command to install PHP and PHP modules required by Jamroom:<\/p>\n Then, install the ImageMagick image library:<\/p>\n Create a new Apache configuration file:<\/p>\n Add the following virtual host directive for your domain name:<\/p>\n <VirtualHost *:80> <Directory “\/var\/www\/html\/jamroom\/”> Or, use the a2ensite to enable the ‘jamroom.conf’ configuration in Apache:<\/p>\n Set the proper file permissions for the Apache web server to write to files and directories inside the \/var\/www\/html\/jamroom directory:<\/p>\n In order to to allow larger uploads, edit the php.ini configuration file:<\/p>\n Add\/modify the following lines to increase post_max_size and upload_max_filesize values:<\/p>\n Enable the Apache2 rewrite module if it is not already done so:<\/p>\n Restart the Apache web server to activate changes in configuration:<\/p>\n Create a new MySQL database for Jamroom to use and assign a user to it with full permissions:<\/p>\n Do not forget to replace ‘Y0UR-PASSW0RD’ with a strong password. <\/p>\n That is it. The Jamroom installation is now complete.<\/p>\n Of course you don’t have to do any of this if you use one of our Debian\u00a0Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Jamroom<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately. <\/p>\n","protected":false},"excerpt":{"rendered":" This step by step tutorial will show you how to install Jamroom on a Debian 8 VPS with Apache, PHP … <\/p>\n
\nThis tutorial was tested and written for a Debian 8 VPS<\/a>, but it should work on any Linux distribution.<\/p>\n
\nLet’s start with the installation. Download the latest version of Jamroom available at https:\/\/www.jamroom.net\/download to the server and extract it using the following commands:<\/p>\ncd \/opt\r\nwget https:\/\/www.jamroom.net\/networkmarket\/core_download\/jamroom-core-5.2.41.zip\r\nunzip jamroom-core-5.2.41.zip\r\nmv jamroom-core-5.2.41\/ \/var\/www\/html\/html\/jamroom\/<\/pre>\n
\n
sudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n
sudo apt-get install php5 php5-cli php5-mysql php5-mcrypt php5-gd<\/pre>\n
sudo apt-get install imagemagick<\/pre>\n
cd \/etc\/apache2\/sites-available\/\r\nvi jamroom.conf<\/pre>\n
\nServerAdmin webmaster@your-domain.com
\nDocumentRoot “\/var\/www\/html\/jamroom”
\nServerName your-domain.com
\nServerAlias www.your-domain.com
\nErrorLog “\/var\/log\/apache2\/your-domain.com-error_log”
\nCustomLog “\/var\/log\/apache2\/your-domain.com-access_log” combined<\/p>\n
\nDirectoryIndex index.php
\nOptions FollowSymLinks
\nAllowOverride All
\n<\/Directory>
\n<\/VirtualHost>
\nDo not forget to replace your-domain.com with your actual domain name. Then, run the following command:<\/p>\nln -s \/etc\/apache2\/sites-available\/jamroom.conf \/etc\/apache2\/sites-enabled\/jamroom.conf<\/pre>\n
sudo a2ensite jamroom.conf<\/pre>\n
sudo chown www-data:www-data -R \/var\/www\/html\/jamroom\/<\/pre>\n
vi \/etc\/php5\/apache2\/php.ini<\/pre>\n
post_max_size = 20M\r\nupload_max_filesize = 20M<\/pre>\n
sudo a2enmod rewrite<\/pre>\n
service apache2 restart<\/pre>\n
mysql -u root -p\r\nmysql> create database jamroomdb;\r\nmysql> GRANT ALL PRIVILEGES ON jamroomdb.* TO 'jamroomuser'@'localhost' IDENTIFIED BY 'Y0UR-PASSW0RD';\r\nmysql> flush privileges;\r\nmysql> quit<\/pre>\n
\nOpen http:\/\/your-domain.com\/install.php using a web browser and follow the easy instructions. Once installed, open http:\/\/your-domain.com\/user\/signup or click the ‘Create Account’ button to go to the create account page and the first user you create will be the Admin user.<\/p>\n
\nPS<\/span>.<\/strong> 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