10-01-2016, 02:19 PM
hi today i will tell you how to install znc server
First you have to update your sources by typing this
if you dont have sudo install sudo by
now you need to get some dependencies needed to compile znc from source
Download the Latest znc version by typing
Now extract the the downloaded file which you download by typing this command
now you can configure source in order to compile Znc you can use
Lastly lets compile Znc
its will takes 5-7 minutes when its completed its mean you have been successfully installed znc on your vps
Configuration:
first you have to add a new user by typing
switch new user and then cd to home
now you have to create configuration file
Now Znc will ask some questions in order to create configuration file the first question its will ask on which port do you want to run znc the port can be anything 1025 to 65535
i select 5000 you select port of your own choice
Note:you will conect to your znc through that port like domain.com:5000
now its will ask regarding ssl which allows you to connect through http i recommend answer No because its can cause problems
its will now ask do you want to listen znc using ipv6 and ipv4
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
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
now its will ask run znc
First you have to update your sources by typing this
Code: (Select All)
sudo apt-get update
Code: (Select All)
apt-get install sudo
Code: (Select All)
sudo apt-get install build-essential libssl-dev libperl-dev pkg-config
Code: (Select All)
cd /usr/local/src; sudo wget http://znc.in/releases/znc-latest.tar.gz
Code: (Select All)
sudo tar -xzvf znc-latest.tar.gz; cd znc*
Code: (Select All)
./configure
Lastly lets compile Znc
Code: (Select All)
sudo make; sudo make install
Configuration:
first you have to add a new user by typing
Code: (Select All)
adduser znc
Code: (Select All)
su znc; cd ~
Code: (Select All)
/usr/local/bin/znc --makeconf
i select 5000 you select port of your own choice
Note:you will conect to your znc through that port like domain.com:5000
Code: (Select All)
What port would you like ZNC to listen on? (1025 to 65535): 5000
Code: (Select All)
Would you like ZNC to listen using SSL? (yes/no) [no]: no
Code: (Select All)
Would you like ZNC to listen using ipv6 and ipv4? (yes/no) [yes]: yes
now we will setup network for that account which network you want add it there are many like freenode, LUnet
Code: (Select All)
Would you like to set up a network? (yes/no) [no]: yes
Code: (Select All)
Network ('freenode'): freenode i type freenode you can type any
now its will ask run znc
Code: (Select All)
launch ZNC now? (yes/no) [yes]: yes