arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Znc host debian/unbuntu
#1
hi today i will tell you how to install znc server 

First you have to update your sources by typing this
sudo apt-get update
if you dont have sudo install sudo by 
apt-get install sudo
now you need to get some dependencies needed to compile znc from source
sudo apt-get install build-essential libssl-dev libperl-dev pkg-config
Download the Latest znc version by typing
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
sudo tar -xzvf znc-latest.tar.gz; cd znc*
now you can configure source in order to compile Znc you can use
./configure
 
Lastly lets compile Znc
sudo make; sudo make install
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 
adduser znc
switch new user and then cd to home
su znc; cd ~
now you have to create configuration file
/usr/local/bin/znc --makeconf
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
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
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
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
Would you like to set up a network? (yes/no) [no]: yes
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 Tongue
now its will ask run znc
launch ZNC now? (yes/no) [yes]: yes
#2
Nice Tutorial. Though I will never recommened to install ZNC on any free VPS. Cuz they are temporary and can be lost anytime.



person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting