Nibbleblog is a free of charge, lightweight, super easy and engine that is powerful 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 on Ubuntu 16.04 server.
Prerequisites
- A server running Ubuntu 16.04.
- N non-root user with sudo privileges.
Getting Started
Let’s start by updating your system to the latest version.
sudo apt-get update -y
sudo apt-get upgrade****) that is-y(***)Next, restart the body to use the updates.
Install Apache and PHP
Nibbleblog runs on Apache and makes use of PHP language, and that means you will have to install Apache internet host, PHP alongside PHP libraries towards system. You’ll install them all by simply operating the command that is following****)
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
Once all the packages are installed, start Apache service and enable it to start on boot with the following command:
sudo systemctl start apache2
sudo systemctl enable apache2
Install Nibbleblog
First, you will need to download the version that is latest of Nibbleblog from the formal site. This can be done utilizing the wget demand:
wget https://excellmedia.dl.sourceforge.net/project/nibbleblog/v4.0/nibbleblog-v4.0.5.zip
After downloading, draw out the archive that is downloaded the following command:
unzip nibbleblog-v4.0.5.zip
Next, copy extracted directory to the Apache web root directory:
sudo cp -r nibbleblog-v4.0.5 /var/www/html/nibbleblog
Next, give proper permissions to the nibbleblog directory:
sudo chown -R www-data:www-data /var/www/html/nibbleblog
sudo chmod -R 777 /var/www/html/nibbleblog
Configure Apache for Nibbleblog
Next, you will need to create a virtual host file for Nibbleblog. To do so create a nibbleblog.conf file:
sudo nano /etc/apache2/sites-available/nibbleblog.conf
add the contents that are following****)
<VirtualHost *:80> ServerAdmin [email protected] ServerName yourdomain.com DocumentRoot /var/www/html/nibbleblog <Directory /var/www/html/nibbleblog> choices -Indexes +FollowSymLinks +MultiViews AllowOverride All need all awarded </Directory> ErrorLog ${APACHE_LOG_DIR}/nibbleblog-error.log CustomLog ${APACHE_LOG_DIR}/nibbleblog-access.log combined </VirtualHost>
Save and shut the file. Then disable the standard host that is virtual and enable the nibbleblog virtual host file with the following command:
sudo a2dissite 000-defaults
sudo a2ensite nibbleblog
Next, restart the Apache service to read the new virtual host configuration:
sudo systemctl restart apache2
Once you are done, you can proceed to access Nibbleblog web interface.
Access Nibbleblog
Nibbleblog listening on port 80. So you shall have to enable slot 80 through UFW firewall. Automagically UFW is disabled in your system, it first so you need to enable. You can enable it with the following command:
sudo ufw enable
Once UFW firewall is enabled, you can allow port 80 by running the following command:
sudo ufw allow tcp/80
You can now check the status of UFW firewall by running the following command:
( ufw status that is************)sudo
Now, start your chosen internet browser and access the Address http://yourdomain.com, you will end up rerouted towards the Nibbleblog internet installation wizard as shown in below image.
Provide your blog Title, Administrator username, password and e-mail, then click the Install switch. When the installation is finished, you ought to start to see the after web page:
(you will be redirected to the following page:
Here, provide your admin username and password, then click on the Login button, you should see the Nibbleblog default dashboard:
If you want to manage your blog, open your web browser and type the URL http://yourdomain.com/admin.php,*****************************)
Comments