znc hosting on vps

Decent12

Newbie
Code:
sudo apt-get update
Code:
apt-get install sudo
now you need to get some dependencies needed to compile znc from source
Code:
sudo apt-get install build-essential libssl-dev libperl-dev pkg-config
Download the Latest znc version by typing
Code:
cd /usr/local/src; sudo wget http://znc.in/releases/znc-latest.tar.gz
Now extract the the downloaded file which you download by typing this command
Code:
sudo tar -xzvf znc-latest.tar.gz; cd znc*
now you can configure source in order to compile Znc you can use
Code:
./configure
Code:
sudo make; sudo make install
Code:
adduser znc
switch new user and then cd to home
Code:
su znc; cd ~
now you have to create configuration file
Code:
/usr/local/bin/znc --makeconf
Code:
What port would you like ZNC to listen on? (1025 to 65535): 5000
now its will ask regarding ssl which allows you to connect through http i recommend answer No because its can cause problems
Code:
Would you like ZNC to listen using SSL? (yes/no) [no]: no
its will now ask do you want to listen znc using ipv6 and ipv4
Code:
Would you like ZNC to listen using ipv6 and ipv4? (yes/no) [yes]: yes
now its will ask user details for admin account its easy i dont need to define
now we will setup network for that account which network you want add it there are many like freenode, LUnet
Code:
Would you like to set up a network? (yes/no) [no]: yes
Code:
Network ('freenode'): freenode i type freenode you can type any
after this its will ask 1 or two questions you can answer it thats why i didnt define because with typing it my hand start pain :p
now its will ask run znc
Code:
launch ZNC now? (yes/no) [yes]: yes
 
Top