Installing And Configuring ZNC
- A Linux server
- Access to ‘make’ or ‘gmake’
- GCC 3 or above
- OpenSSL (0.9.7d or above)
- OpenSSL Development Package (packaged as openssl-dev, openssl-devel or libssl-dev)
- Perl and libperl (installer will chase you for it)
Go to http://znc.in/releases/ , right click on the latest download version and click ‘Copy Shortcut’, ‘Copy link location’, or similar.
Log into your server via SSH, and type ‘wget’ followed by the copied link. It should look something like this:
The version number will differ, depending on what the latest version is. Hit Enter.
Your terminal should start to download the file to the currently active folder. Once it is finished, type this into your terminal and press Enter:
tar –xzf znc-0.204.tar.gz
Again, your version number may differ from the one shown here, due to updates and the like.
Change to the directory where ZNC was extracted by typing:
(Again, the version number will differ)
Type ./configure and hit Enter. Your ZNC will start configuring itself for the next step. Assuming you have all required and optional packages installed, all should go smoothly. If you do not have perl installed, and the script nags you for it, try ./configure --disable-perl instead. If you’d like to install to a different directory, use the --PREFIX directive.
Type make. If you get access denied or not found, try gmake.
The installation is complete! It’s now time to configure our ZNC for SwiftIRC.
Navigate to the directory you installed ZNC to. If you didn’t specify one, it’s the same directory you did make/gmake in.
Type ./znc --makeconf. You should be presented with a script that looks like this:
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 SwiftIRC, enter 'irc.swiftirc.net' 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.
If you’d like more information on modules, visit http://en.znc.in/wiki/Modules.
This page has been added with the help of SwiftIRC user darkex