{"id":3202,"date":"2018-03-28T21:45:35","date_gmt":"2018-03-28T17:45:35","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-install-esyndicat-on-ubuntu-1604\/"},"modified":"2018-03-28T21:45:35","modified_gmt":"2018-03-28T17:45:35","slug":"how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04\/","title":{"rendered":"How to install eSyndiCat PHP Directory Software on Ubuntu 16.04"},"content":{"rendered":"<p>eSyndiCat is a free, open source and one of the most popular PHP directory software that can be used as an addition to your existing site or as a stand-alone platform. eSyndiCat is the seo-friendly PHP directory script that allows to achieve top rank and take the leading positions in the most popular search engines. eSyndiCat comes with lot&#8217;s of features including, SEO friendly URLs, Custom meta for pages, Clean HTML layout structure, Spider friendly structure and much more.<\/p>\n<p>In this tutorial, we will learn how to install eSyndiCat on Ubuntu 16.04 server.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>A server running Ubuntu 16.04.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"install-lamp-server\">Install LAMP Server<\/h2>\n<p>Before starting, you will need to install LAMP server on your system. First, install Apache and MariaDB using the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 mariadb-server -y<\/p>\n<p>Next, start Apache and MariaDB service and enable them to start on boot with the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl enable apache2<br \/>sudo systemctl start mysql<br \/>sudo systemctl enable mysql<\/p>\n<p>By default, PHP5 is not available in Ubuntu 16.04 default repository. So you will need to add Ondrej PPA to your system. You can do this by running the following command:<\/p>\n<p class=\"command\">sudo apt-get install python-software-properties -y<br \/>sudo add-apt-repository ppa:ondrej\/php -y<\/p>\n<p>Next, update the system and install PHP5.6 with the following command:<\/p>\n<p class=\"command\">sudo apt-get update -y<br \/>sudo apt-get install php5.6 libapache2-mod-php5.6 php5.6-mysql php5.6-xml php5.6-curl php5.6-gd php5.6-mbstring -y<\/p>\n<h2 id=\"configure-database\">Configure Database<\/h2>\n<p>By default, MariaDB is not secured, you can secure it by running the mysql_secure_installation script:<\/p>\n<p class=\"command\">sudo mysql_secure_installation<\/p>\n<p>This script will set a root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB as shown below:<\/p>\n<pre>Set root password? [Y\/n] y&#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&#13;\n<\/pre>\n<p>Once the MariaDB is secured, log in to MariaDB shell with the following command:<\/p>\n<p class=\"command\">mysql -u root -p<\/p>\n<p>Enter your root password, then create a database and user for eSyndicat with the following command:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE esyndicat;<br \/>MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON esyndicatdb.* TO &#8216;esyndicat&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<p>Next, flush the privileges:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<\/p>\n<p>Finally, exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt;exit<\/p>\n<h2 id=\"download-and-install-esyndicat\">Download and Install eSyndicat<\/h2>\n<p>You can download the latest version of the eSyndicat from their official website using the following command:<\/p>\n<p class=\"command\">wget http:\/\/www.esyndicat.com\/esyndicat-script.zip<\/p>\n<p>Once the download is completed, extract the downloaded file to the Apache root directory:<\/p>\n<p class=\"command\">unzip esyndicat-script.zip -d \/var\/www\/html\/esyndicat<\/p>\n<p>Next, give proper permissions to the esyndicat directory with the following command:<\/p>\n<p class=\"command\">sudo chown -R www-data:www-data \/var\/www\/html\/esyndicat<br \/>sudo chmod -R 777 \/var\/www\/html\/esyndicat<\/p>\n<p>Next, create an Apache virtual host directive for eSyndicat with the following command:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/esyndicat.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"e180858c888fa18499808c918d84cf828e8c\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/esyndicat&#13; ServerName example.com&#13; &lt;Directory \/var\/www\/html\/esyndicat\/&gt;&#13;\nOptions Indexes FollowSymLinks MultiViews&#13;\nAllowOverride All&#13;\nOrder allow,deny&#13;\nallow from all&#13; &lt;\/Directory&gt;&#13; ErrorLog \/var\/log\/apache2\/esyndicat-error_log&#13; CustomLog \/var\/log\/apache2\/esyndicat-access_log common&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file, when you are finished. Then enable eSyndicat virtual host with the following command:<\/p>\n<p class=\"command\">sudo a2ensite esyndicat<\/p>\n<p>Finally, restart Apache service with the following command:<\/p>\n<p class=\"command\">sudo systemctl restart apache2<\/p>\n<h2 id=\"access-esyndicat\">Access eSyndicat<\/h2>\n<p>Now, open your web browser and type the URL <strong>http:\/\/example.com<\/strong>, you should see the following pre-installation check page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04.png\" alt=\"eSyndicat installation check\" width=\"550\" height=\"226\" title=\"\"><\/a><\/p>\n<p><a class=\"fancybox\" id=\"img-page1_1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page1_1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-1.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p>Make sure all the requirements are fulfilled, then click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-2.png\" alt=\"Accept the license agreement\" width=\"550\" height=\"302\" title=\"\"><\/a><\/p>\n<p>Here, accept the License agreement and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-3.png\" alt=\"General configuration\" width=\"550\" height=\"267\" title=\"\"><\/a><\/p>\n<p><a class=\"fancybox\" id=\"img-page4_1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page4_1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-4.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p>Here, provide your Database details and Admin credentials, then click on the <strong>Next<\/strong> button to start the installation, Once the installation is completed, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-5.png\" alt=\"Installation completed\" width=\"550\" height=\"304\" title=\"\"><\/a><\/p>\n<p>Here, click on the Download config.inc.php button to download the file and upload this file to the \/var\/www\/html\/esyndicat\/includes\/ directory. Then click on the <strong>Next<\/strong> button you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-6.png\" alt=\"Installation successful\" width=\"550\" height=\"294\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Next<\/strong> button, you should see the eSyndicat admin login page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-7.png\" alt=\"eSyndicat admin login\" width=\"550\" height=\"282\" title=\"\"><\/a><\/p>\n<p>Now, provide your admin credential and click on the <strong>Login<\/strong> button, you will be redirected to the eSyndicat dashboard as shown below:<\/p>\n<p><a class=\"fancybox\" id=\"img-page8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_esyndicat_on_ubuntu_1604\/big\/page8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-esyndicat-php-directory-software-on-ubuntu-16-04-8.png\" alt=\"eSyndicat admin panel\" width=\"550\" height=\"287\" title=\"\"><\/a><\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>eSyndiCat is a free, open source and one of the most popular PHP directory software that can be used as an addition to your existing site or as a stand-alone platform. eSyndiCat is the seo-friendly PHP directory script that allows to achieve top rank and take the leading positions in the most popular search engines. &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-3202","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3202","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=3202"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3202\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=3202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=3202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=3202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}