Install ZNC IRC Bouncer on Headless Debian Server

Introduction

ZNC is an IRC network bouncer software. 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

Dependencies sudo apt-get install build-essential libssl-dev libperl-dev pkg-config
source tar ball cd /usr/local/src; sudo wget http://znc.in/releases/znc-latest.tar.gz
Extract Source sudo tar -xzvf znc-latest.tar.gz; cd znc*
 ./configure
Compile ZNC  sudo make; sudo make install

Configuration

Add new user for ZNC to run under sudo adduser znc-admin
Login and cd into home directory  su znc-admin; cd ~
use letsencrypt ssl  sudo cp /etc/letsencrypt/live/[website url]/cert.pem /home/znc-admin/.znc/znc.pem
Create configuration file  /usr/local/bin/znc –makeconf

Basic Usage

Your ZNC web interface should be available at: http://: or if you used SSL https://:, you can sign in with your user and password to configure ZNC further. More help on configuring ZNC further can be found over here.

You can connect to your ZNC account via an IRC client of your choice by trying /server : within your client, however this command is client dependent.

Install ZNC IRC Bouncer on Headless Debian Server was originally published on Something Different

Advertisements