{"id":3321,"date":"2018-04-19T14:22:42","date_gmt":"2018-04-19T10:22:42","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-elastic-jamroom\/"},"modified":"2018-04-19T14:22:42","modified_gmt":"2018-04-19T10:22:42","slug":"how-to-install-elastic-jamroom-on-ubuntu-16-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts\/","title":{"rendered":"How to Install Elastic Jamroom on Ubuntu 16.04 LTS"},"content":{"rendered":"<p>Jamroom is free, open source, scalable, and social networking software written in PHP that can be used by website developers for creating community websites. Jamroom comes with lots of features including, a module based extension system and skins using the Smarty templating engine. One of the most popular features of Jamroom is its modular architecture that allows users and developers to extend its abilities beyond the core installation.<\/p>\n<p>In this tutorial, we will learn how to install Jamroom CMS on Ubuntu 16.04.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>An Ubuntu 16.04 server installed on your system.<\/li>\n<li>A sudo user with root privileges.<\/li>\n<\/ul>\n<h2 id=\"getting-started\">Getting Started<\/h2>\n<p>Before starting, update your system&#8217;s package repository to the latest version and install required packages by running the following command:<\/p>\n<p class=\"command\">sudo apt-get update -y<br \/>sudo apt-get upgrade -y<\/p>\n<p>Once your repository is updated, restart the system and install required packages with the following command:<\/p>\n<p class=\"command\">sudo apt-get install nano wget unzip imagemagick -y<\/p>\n<h2 id=\"install-lamp-server\">Install LAMP Server<\/h2>\n<p>Next, you will need to install Apache, MariaDB, PHP7 and other PHP modules to your system. First, install Apache with the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2<\/p>\n<p>By default, the latest version of the MariaDB and PHP is not available in Ubuntu 16.04. So you will need to add the repository for that.<\/p>\n<p>First, add the repository with the following command:<\/p>\n<p class=\"command\">sudo apt-key adv &#8211;recv-keys &#8211;keyserver hkp:\/\/keyserver.ubuntu.com:80 0xF1656F24C74CD1D8<br \/>sudo add-apt-repository &#8216;deb [arch=amd64,i386,ppc64el] http:\/\/kartolo.sby.datautama.net.id\/mariadb\/repo\/10.2\/ubuntu xenial main&#8217;<\/p>\n<p>Next, update the repository and install MariaDB, PHP7 with the following command:<\/p>\n<p class=\"command\">sudo apt-get update -y<br \/>sudo apt-get install mariadb-server php7.0 php7.0-cli libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt<\/p>\n<p>Once all the packages are installed, start Apache and MariaDB service and enable them to start on boot by running the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl start mysql<br \/>sudo systemctl enable apache2<br \/>sudo systemctl enable mysql<\/p>\n<h2 id=\"configure-mariadb\">Configure MariaDB<\/h2>\n<p>By default, MariaDB is not secured. So you will need to secure it first. You can do this by running the following command:<\/p>\n<p class=\"command\">sudo mysql_secure_installation<\/p>\n<p>Answer all the questions as shown below:<\/p>\n<pre>Set root password? [Y\/n] Y&#13;\nNew password:&#13;\nRe-enter new password:&#13;\nRemove anonymous users? [Y\/n] Y&#13;\nDisallow root login remotely? [Y\/n] Y&#13;\nRemove test database and access to it? [Y\/n] Y&#13;\nReload privilege tables now? [Y\/n] Y<\/pre>\n<p>Next, login to MariaDB shell:<\/p>\n<p class=\"command\">mysql -u root -p<\/p>\n<p>Enter your root password when prompt, then create a database and user for Jamroom:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE jamroomdb;<br \/>MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON jamroomdb.* TO &#8216;jamroom&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<p>Next, reload the privileges with the following command:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<\/p>\n<p>Next, exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; exit;<\/p>\n<h2 id=\"install-jamroom\">Install Jamroom<\/h2>\n<p>First, download the latest version of the Jamroom from their official website:<\/p>\n<p class=\"command\">wget https:\/\/www.jamroom.net\/networkmarket\/core_download\/jamroom-open-source.zip<\/p>\n<p>Once the download is completed, unzip the downloaded file with the following command:<\/p>\n<p class=\"command\">unzip jamroom-open-source.zip<\/p>\n<p>Next, copy the extracted directory to the Apache root directory and provide necessary permission:<\/p>\n<p class=\"command\">sudo cp -r jamroom-open-source \/var\/www\/html\/jamroom<br \/>sudo chown -R www-data:www-data \/var\/www\/html\/jamroom<br \/>sudo chmod -R 777 \/var\/www\/html\/jamroom<\/p>\n<p>Next, create an Apache virtual host directive for Jamroom with the following command:<\/p>\n<p class=\"command\">sudo \/etc\/apache2\/sites-available\/jamroom.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13;\nServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"f697929b9f98b68f99838492999b979f98d895999b\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\nDocumentRoot \"\/var\/www\/html\/jamroom\"&#13;\nServerName 192.168.0.102&#13;\n&lt;Directory \/&gt;&#13;\nOptions FollowSymLinks&#13;\nAllowOverride All&#13;\n&lt;Directory \"\/var\/www\/html\/jamroom\/\"&gt;&#13;\nOptions MultiViews FollowSymlinks<br\/>&#13;\nAllowOverride All&#13;\nOrder allow,deny&#13;\nAllow from all&#13;\n&lt;\/Directory&gt;&#13;\nTransferLog \/var\/log\/apache2\/jamroom_access.log&#13;\nErrorLog \/var\/log\/apache2\/jamroom_error.log&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file when you are finished, then enable Jamroom virtual host file and disable default virtual host file with the following command:<\/p>\n<p class=\"command\">sudo a2ensite coppermine<br \/>sudo a2dissite 000-default<\/p>\n<p>Finally, enable Apache rewrite module and reload apache service with the following command:<\/p>\n<p class=\"command\">sudo a2enmod rewrite<br \/>sudo systemctl restart apache2<\/p>\n<h2 id=\"access-jamroom\">Access Jamroom<\/h2>\n<p>Open your web browser and type the URL <strong>http:\/\/192.168.0.102\/install.php,<\/strong> you will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Page1\" href=\"https:\/\/www.howtoforge.com\/images\/install_jamroom_cms_on_ubuntu_1604\/big\/Page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts.png\" alt=\"Jamroom web installer\" width=\"550\" height=\"284\" title=\"\"><\/a><\/p>\n<p>Here, provide your database details and click on the <strong>Install<\/strong> <strong>Jamroom<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Page2\" href=\"https:\/\/www.howtoforge.com\/images\/install_jamroom_cms_on_ubuntu_1604\/big\/Page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-1.png\" alt=\"Jamroom successfully installed\" width=\"550\" height=\"282\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Create Admin Account<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Page5\" href=\"https:\/\/www.howtoforge.com\/images\/install_jamroom_cms_on_ubuntu_1604\/big\/Page5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-2.png\" alt=\"Create an account\" width=\"550\" height=\"281\" title=\"\"><\/a><\/p>\n<p>Now, provide your admin user credential and click on the <strong>Create Account<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Page6\" href=\"https:\/\/www.howtoforge.com\/images\/install_jamroom_cms_on_ubuntu_1604\/big\/Page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-3.png\" alt=\"Continue to system check\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Continue To System Check<\/strong> button, you should see the Jamroom dashboard in the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Page7\" href=\"https:\/\/www.howtoforge.com\/images\/install_jamroom_cms_on_ubuntu_1604\/big\/Page7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-4.png\" alt=\"Jamroom dashboard\" width=\"550\" height=\"285\" title=\"\"><\/a><\/p>\n<p>That is it. The Jamroom is successfully installed on Ubuntu 16.04 server.<\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-elastic-jamroom%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-5.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-elastic-jamroom%2F&amp;text=How+to+Install+Elastic+Jamroom+on+Ubuntu+16.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-6.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-7.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-elastic-jamroom%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/04\/how-to-install-elastic-jamroom-on-ubuntu-16-04-lts-8.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Jamroom is free, open source, scalable, and social networking software written in PHP that can be used by website developers for creating community websites. Jamroom comes with lots of features including, a module based extension system and skins using the Smarty templating engine. One of the most popular features of Jamroom is its modular architecture &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-3321","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=3321"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3321\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=3321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=3321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=3321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}