Jump to content
EGGTCL dot us

How To Install ZNC, an IRC bouncer, on Linux


Pugsley

74 views

Introduction
ZNC is an IRC network bouncer software. ZNC comes with various modules and features that can cater to your usage requirements.

We will be compiling ZNC with the web interface enabled in this tutorial. In the web interface, you can create, edit, configure, and remove users from your ZNC instance.

 

Installation

If you want to compile ZNC with OpenSSL support, you need the OpenSSL development package. On Debian/Ubuntu this is called libssl-dev, on CentOS/Fedora/Red Hat it's openssl-devel.

If you want to compile ZNC with OpenSSL support, you need the OpenSSL development package. On Debian/Ubuntu this is called libssl-dev, on CentOS/Fedora/Red Hat it's openssl-devel, and on openSUSE it's libopenssl-devel. A good way to install this and other dependencies is the build dependency feature of package managers (apt-get build-dep / yum-builddep / zypper source-install --build-deps-only).

 

Download the latest version of ZNC from https://znc.in/

wget https://znc.in/releases/znc-1.7.4.tar.gz
tar -xzvf znc-1.7.4.tar.gz
rm -rf znc-1.7.4.tar.gz
cd znc-1.7.4

./configure --prefix="$HOME/.local"

(use --prefix="$HOME/.local" if you don't want a system wide installation or simply don't have root access; 
use --with-openssl=/path/to/openssl if you have a non-standard SSL path)
(use --help to see other configure options)

make
(if you are on a dedicated server and your CPU has more than one core, 
you can use make -jX where X is the number of CPU cores to speed up compilation)

make install

Please note that compiling can take 5-10 minutes or more.

If you get an error saying: No compiler with C++11 support was found do this:

sudo apt-get install gcc-4.7 g++-4.7

and to start your ZNC, type: znc

 

0 Comments


Recommended Comments

There are no comments to display.

×
×
  • Create New...