tar -xzf znc-latest.tar.gz
make or gmake
Run through the wizard. If you’re unsure, just stick with the default values given in the square brackets and hit Enter. If you like, enable the Global module ‘webadmin’. To make ZNC connect to ZemraChat, enter ‘irc.zemra.org’ as the IRC server. For the port, you can stick with 6667, but leave SSL off. If you would like to use SSL, enter 6697 as the port and say ‘yes’ to the enable SSL function.
Assuming you’ve loaded the ‘webadmin’ module under ‘global’ modules in the making of the configuration, you can configure your ZNC through your web browser. Navigate to the IP and port you bound ZNC to in your browser. Log in, and you’ll be presented with a screen that lets you add users and control many aspects of the bouncer itself.
- Which way should I choose for installing ZNC?
- If you don’t have root access, the only way is to use source tarball. You’ll need to use
./configure --prefix=$HOME/zncas described.
- If you have root access, you can use either source tarball or the convenient way for your distro. Check section about your distro for details, but be aware that these may contain old versions of ZNC!
Once you have installed ZNC, you can create a config file with
Official source tarballs can be found here.
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.
- wget http://znc.in/releases/znc-0.206.tar.gz
tar -xzvf znc*.*gz
--prefix=$HOME/zncif you don’t want a system wide installation or simply don’t have root; use
--with-openssl=/path/to/opensslif you have a non-standard SSL path)
--enable-extrato configure (and additionally
--enable-tclfor modtcl) to include the whole extra package)
(if you are on a dedicated server and your CPU has more than one core, you can use
make -jXwhere X is the number of CPU cores to speed up compilation)
Please note that compiling can take 5-10mins or more.
Once you have installed znc, you can use
znc --makeconf to make a configuration file for ZNC.