Here in this post I will let you know how to setup znc in your shell.
STEPS:
1) Login to your shell
2) type: wget http://kent.dl.sourceforge.net/sourceforge/znc/znc-0.068.tar.gz
Above command will download znc in your shell in tar.gz format.
3) type: tar -zxf znc-0.068.tar.gz
Above command will untar your znc in your shell.
4) type: cd znc-0.068
Above command will change your directory to znc-0.068
5) type: ./configure –prefix=$HOME/ZNC
Above command will configure your znc.
6) type: make
7) type: make install
Above command will install your znc
type: ./znc
Above command will start your znc process. So you are ready to go. Have fun using znc.
If you are facing any problem with installing or compiling znc, post your problem or error in comments. I will try to help you to resolving your issues.

cannot create directory ‘/usr/local/include/znc’
ermission denied
make sure the path is correct or you have proper privilege
Everything works fine till “./configure” part but then when i did “make” I got this —
Building znc.o…
cc1plus: out of memory allocating 704496 bytes after a total of 0 bytes
gmake: *** [znc.o] Error 1
—
Any ideas why? I’m not really sure why it says memory, I can run other processes though and I have enough disk space too. Any help would be much appreciated.
Thanks.