Nibbleblog is a free and lightweight (only 1MB), but yet powerful and very easy to use engine for creating blogs. The installation is very simple and fast. An SQL database is not required because Nibbleblog stores its information in XML files.
Nibbleblog comes with tons of useful features such as:
- Quote post
- Free without advertising
- Multilanguage support
- XML database, no MySQL or similar DBMS needed
- Plugins support (Users can create their custom plugins)
- Template and themes support
- WYSIWYG Editor
- Open Source. Free under the GPL license
- Prepared for SEO
and much more…
In order to run Nibbleblog on your CentOS 7 VPS, you have to install the following two components
- Web server (Apache or Nginx)
- PHP version 5.2 or newer with DOM, GD, SimpleXML and Mcrypt modules installed and enabled
This tutorial covers up everything and we will guide you through the steps of installing Nibbleblog on a CentOS 7 VPS with Apache and PHP.
Login to your CentOS 7 Server via SSH as user root
ssh root@IP
First of all, make sure that all packages installed on your server are updated to the latest version, by running the following command in the Linux terminal
yum -y update
and install some packages needed for installing Nibbleblog
yum -y install unzip wget nano
Next, run the following command to install Apache web server
yum -y install httpd
Once the Apache web server is successfully installed, start it and enable it to start automatically on boot time.
systemctl start httpd systemctl enable httpd
Install PHP and several PHP modules required by Nibbleblog
yum -y install php php-gd php-mcrypt php-common
Go to Nibbleblog’s official and download the latest available version of the application to your server. At the moment of writing this article, it is version 4.0.5 or ‘Espresso’
wget http://downloads.sourceforge.net/project/nibbleblog/v4.0/nibbleblog-v4.0.5.zip
Once it is downloaded, unpack the zip archive to the document root directory on your server.
unzip nibbleblog-v4.0.5.zip -d /var/www/html
All Nibbleblog files will be unpacked in a new ‘nibbleblog-v4.0.5’ directory. We will rename the directory to something simpler
mv /var/www/html/nibbleblog-v4.0.5 /var/www/html/nibbleblog
Change the owner and group of all files and directories
chown -R apache:apache /var/www/html/nibbleblog
On the next step, we will create Apache virtual host for your Nibbleblog blog. First, create ‘/etc/httpd/conf.d/vhosts.conf’ file with the following content:
IncludeOptional vhosts.d/*.conf
create a new directory
mkdir /etc/httpd/vhosts.d/
and create a virtual host with the following content
nano /etc/httpd/vhosts.d/yourdomain.com.confServerAdmin [email protected] DocumentRoot "/var/www/html/nibbleblog/" ServerName yourdomain.com ServerAlias www.yourdomain.com ErrorLog "/var/log/httpd/yourdomain.com-error_log" CustomLog "/var/log/httpd/yourdomain.com-access_log" combined DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted
Close the nano text editor, save the file and restart the web server for the changes to take effect
systemctl restart httpd
Now, open your favorite web browser and navigate to http://yourdomain.com to access Nibbleblog and start creating your own blog
PS. 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.