Easy,Fast,Light Nibbleblog using Lighttpd

Introduction:

There are a lot of small vps offered in Lowendtalk and other forums. These are ok to run a blog, normally personal and fair traffic blog. I am going to introduce you to a very light and good blog software. It’s called “Nibbleblog“.

3

Objective:

We will need a lightweight server and php to run this blog.(I have used Debian-7 minimal 64 bit in 128mb vps) I have always been a fan of Lighttpd. So I will guide you to install

  1. Lighttpd
  2. php5

Also I will tweak the server to allow larger uploads and clean urls.

Step-01: Install Lighttpd.

First make sure repository is updated and all softwares are upgraded.

Now install lighttpd.

You will be able to browse the default index page now by ip address. Now edit /etc/lighttpd/lighttpd.conf and make sure you change this
1

 

 

to this

2

Change the portnumber ONLY if you are using a lowendspirit vps and restart lighttpd.

Step-02: Configure Virtualhost.

Create default folder of your domain.

Now edit /etc/lighttpd/lighttpd.conf and put below line there and save.

Now create “domain.com.conf” file in /etc/lighttpd/

Edit that file and put below code and save and restart lighttpd.

Step-03: Install php

Enable php on lighttpd.

and restart lighttpd.

Now create a php file to check if php is enabled or not.

Put below code and save that file.

If you access that page by ip/phpinfo.php and you see a page starting php version and logo then your installation so far is ok. You will find “upload_max_filesize” as 2M that means you can upload a filenot more that 2M. Find php.ini and let’s tweak it to upload larger files.

It should give output-

Edit that file with nano and find the line “upload_max_filesize” by ctrl+w and increase the value, example 10M. We have to find the “post_max_size” line too. The value should be double of “upload_max_filesize“, that means as example you have put 10M in that line so you have to put 20M for uploading 10M file.

Save it and restart lighttpd.

Now if you visit that phpinfo.php you will see “upload_max_filesize 10M“.

Step-04: Install Nibbleblog

Go to the domains directory.

and download the archive file of nibbleblog from http://www.nibbleblog.com/download/en/ I will chose ‘Nibbleblog v4.0.3 “Coffee”‘, this is totally html input but you can download markdown only platform too.

Install unzip to extract this file.

Now extract it.

It will extract to a folder named nibbleblog. Let’s move all files from that fodler to domains root folder.

Delete the now empty folder.

Now from browser goto http://domain.com/ where you will see installation windows.5

Set Blog name,Slogan,username and email and then press/click install. It will show you installation complete window.4

You can manage blog and post from http://domain.com/admin.php and it will show you a login area.

Step-05: Clean Url and Security

After login in go to Settings>SEO Options Scroll below and enable Friendly URLS. Those codes are for apache server. You have to edit “/etc/lighttpd/domaincom.conf” and make sure it looks like below.

You will have to restart the lighttpd.

Now everything should be ok with clean url.

Conclusion:

This is a very lightweight blog. It will give you pleasure to write. You can get and make very beautiful themes easily. A little knowledge needed to make it beautiful. Hope you enjoy it. Happy Blogging. 🙂

3 comments for “Easy,Fast,Light Nibbleblog using Lighttpd

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.