{"id":3023,"date":"2018-03-09T17:42:42","date_gmt":"2018-03-09T14:42:42","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-install-nibbleblog-on-ubuntu\/"},"modified":"2018-03-09T17:42:42","modified_gmt":"2018-03-09T14:42:42","slug":"how-to-install-and-configure-nibbleblog-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-and-configure-nibbleblog-on-ubuntu-16-04\/","title":{"rendered":"How to Install and Configure Nibbleblog on Ubuntu 16.04"},"content":{"rendered":"<p>Nibbleblog is a free, lightweight, very easy and powerful engine for creating blogs. It is written in PHP and uses XML to store its information. Nibbleblog comes with lots of features including, Multilanguage support, Quote post, Plugins support, Template and themes support and much more.<\/p>\n<p>In this tutorial, we will learn how to install Nibbleblog 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>N non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"getting-started\">Getting Started<\/h2>\n<p>Let&#8217;s start by updating your system to the latest version.<\/p>\n<p class=\"command\">sudo apt-get update -y<br \/>sudo apt-get upgrade -y<\/p>\n<p>Next, restart your system to apply the updates.<\/p>\n<h2 id=\"install-apache-and-php\">Install Apache and PHP<\/h2>\n<p>Nibbleblog runs on Apache and uses PHP language, so you will need to install Apache web server, PHP and other PHP libraries to your system. You can install all of them by just running the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 libapache2-mod-php7.0 php7.0 pkp7.0-cli php7.0-gd php7.0-mcrypt php7.0-xml wget nano unzip -y<\/p>\n<p>Once all the packages are installed, start Apache service and enable it to start on boot with the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl enable apache2<\/p>\n<h2 id=\"install-nibbleblog\">Install Nibbleblog<\/h2>\n<p>First, you will need to download the latest version of the Nibbleblog from its official website. You can do this using the wget command:<\/p>\n<p class=\"command\">wget https:\/\/excellmedia.dl.sourceforge.net\/project\/nibbleblog\/v4.0\/nibbleblog-v4.0.5.zip<\/p>\n<p>After downloading, extract the downloaded archive using the following command:<\/p>\n<p class=\"command\">unzip nibbleblog-v4.0.5.zip<\/p>\n<p>Next, copy extracted directory to the Apache web root directory:<\/p>\n<p class=\"command\">sudo cp -r nibbleblog-v4.0.5 \/var\/www\/html\/nibbleblog<\/p>\n<p>Next, give proper permissions to the nibbleblog directory:<\/p>\n<p class=\"command\">sudo chown -R www-data:www-data \/var\/www\/html\/nibbleblog<br \/>sudo chmod -R 777 \/var\/www\/html\/nibbleblog<\/p>\n<h2 id=\"configure-apache-for-nibbleblog\">Configure Apache for Nibbleblog<\/h2>\n<p>Next, you will need to create a virtual host file for Nibbleblog. To do so create a nibbleblog.conf file:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/nibbleblog.conf<\/p>\n<p>add the following contents:<\/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=\"6c0d080105022c1503191e0803010d0502420f0301\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\nServerName yourdomain.com&#13;\nDocumentRoot \/var\/www\/html\/nibbleblog&#13;\n&lt;Directory \/var\/www\/html\/nibbleblog&gt;&#13;\nOptions -Indexes +FollowSymLinks +MultiViews&#13;\nAllowOverride All&#13;\nRequire all granted&#13;\n&lt;\/Directory&gt;&#13;\nErrorLog ${APACHE_LOG_DIR}\/nibbleblog-error.log&#13;\nCustomLog ${APACHE_LOG_DIR}\/nibbleblog-access.log combined&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file. Then disable the default virtual host file and enable the nibbleblog virtual host file with the following command:<\/p>\n<p class=\"command\">sudo a2dissite 000-defaults<br \/>sudo a2ensite nibbleblog<\/p>\n<p>Next, restart the Apache service to read the new virtual host configuration:<\/p>\n<p class=\"command\">sudo systemctl restart apache2<\/p>\n<p>Once you are done, you can proceed to access Nibbleblog web interface.<\/p>\n<h2 id=\"access-nibbleblog\">Access Nibbleblog<\/h2>\n<p>Nibbleblog listening on port <strong>80<\/strong>. So you will need to allow port <strong>80<\/strong> through UFW firewall. By default UFW is disabled on your system, so you need to enable it first. You can enable it with the following command:<\/p>\n<p class=\"command\">sudo ufw enable<\/p>\n<p>Once UFW firewall is enabled, you can allow port <strong>80<\/strong> by running the following command:<\/p>\n<p class=\"command\">sudo ufw allow tcp\/80<\/p>\n<p>You can now check the status of UFW firewall by running the following command:<\/p>\n<p class=\"command\">sudo ufw status<\/p>\n<p>Now, open your favorite web browser and access the URL <strong><span class=\"system\">http:\/\/yourdomain.com<\/span><\/strong>, you will be redirected to the Nibbleblog web installation wizard as shown in below image.<\/p>\n<p><a class=\"fancybox\" id=\"img-Screenshot-of-nibbleblog-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_nibbleblog_on_ubuntu_1604\/big\/Screenshot-of-nibbleblog-page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-and-configure-nibbleblog-on-ubuntu-16-04.png\" alt=\"Welcome to Nibbleblog\" width=\"550\" height=\"299\" title=\"\"><\/a><\/p>\n<p>Provide the Blog Title, Administrator username, password and Email, then click on the <strong>Install<\/strong> button. Once the installation is completed, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Screenshot-of-nibbleblog-page2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_nibbleblog_on_ubuntu_1604\/big\/Screenshot-of-nibbleblog-page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-and-configure-nibbleblog-on-ubuntu-16-04-1.png\" alt=\"Installation completed\" width=\"550\" height=\"284\" title=\"\"><\/a><\/p>\n<p>If you want to manage your blog, open your web browser and type the URL <strong>http:\/\/yourdomain.com\/admin.php<\/strong>, you will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-Screenshot-of-nibbleblog-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_nibbleblog_on_ubuntu_1604\/big\/Screenshot-of-nibbleblog-page3.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-and-configure-nibbleblog-on-ubuntu-16-04-2.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p>Here, provide your admin username and password, then click on the <strong>Login<\/strong> button, you should see the Nibbleblog default dashboard:<\/p>\n<p><a class=\"fancybox\" id=\"img-Screenshot-of-nibbleblog-page6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_nibbleblog_on_ubuntu_1604\/big\/Screenshot-of-nibbleblog-page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/03\/how-to-install-and-configure-nibbleblog-on-ubuntu-16-04-3.png\" alt=\"Nibbleblog dashboard\" width=\"550\" height=\"276\" title=\"\"><\/a><\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Nibbleblog is a free, lightweight, very easy and powerful engine for creating blogs. It is written in PHP and uses XML to store its information. Nibbleblog comes with lots of features including, Multilanguage support, Quote post, Plugins support, Template and themes support and much more. In this tutorial, we will learn how to install Nibbleblog [&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-3023","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3023","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=3023"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/3023\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=3023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=3023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=3023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}