How to install ZNC in a shell

ZNC is the recomended IRC Bouncer by ZNC comes pre-installed on all of our shell servers and can be run simply by typing znc  --makeconf  but if you have reason to compile the bouncer from source, you are more than welcome to do so.


 To install the ZNC Bouncer you will need a shell account. Obtain an account and in the terminal you will need to issue the following commands:


  1. Download the ZNC software by typing: wget
  2. cd znc-1.6.6
  3. ./configure
    (use --prefix="$HOME/.local" (cmake -DCMAKE_INSTALL_PREFIX="$HOME/.local")
    (use --help to see other configure options)
  4. 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)
  5. make install

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

Once you have installed znc, you can use znc --makeconf to make a configuration file for ZNC during the first time you use it. This config is stored in ~/.znc under the user you run it as. You should create a dedicated non root user to run znc under.

ZNC is run by just executing znc

Leave a Reply

Your email address will not be published. Required fields are marked *