Difference between revisions of "ZNC"

From Amahi Wiki
Jump to: navigation, search
Line 6: Line 6:
 
* As '''root''' user, install one dependency:
 
* As '''root''' user, install one dependency:
 
  yum -y mod_ssl
 
  yum -y mod_ssl
* Add the following line to the end of /etc/httpd/conf/httpd.conf:
+
* Add the following line to the end of '''''/etc/httpd/conf/httpd.conf''''':
 
  NameVirtualHost *:443
 
  NameVirtualHost *:443
* Change the line in /etc/httpd/conf.d/####-znc.conf to read:
+
* Change the line in '''''/etc/httpd/conf.d/####-znc.conf''''' to read:
 
   Redirect Permanent / https://znc:26244
 
   Redirect Permanent / https://znc:26244
* Modify the line in /home/username/.znc/config/znc.conf to read:
+
* Modify the line in '''''/home/username/.znc/config/znc.conf''''' to read:
 
  Listener4 = +26244
 
  Listener4 = +26244
 
* Restart the web server and ZNC:
 
* Restart the web server and ZNC:

Revision as of 02:50, 7 December 2010

ZNC is an IRC bounce with many advanced features such as a built-in web interface, persistent connection (detaching), multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module support, to name a few.

SSL Configuration

To enable SSL support, some manual configuration must be done:

  • As root user, install one dependency:
yum -y mod_ssl
  • Add the following line to the end of /etc/httpd/conf/httpd.conf:
NameVirtualHost *:443
  • Change the line in /etc/httpd/conf.d/####-znc.conf to read:
 Redirect Permanent / https://znc:26244
  • Modify the line in /home/username/.znc/config/znc.conf to read:
Listener4 = +26244
  • Restart the web server and ZNC:
service httpd restart
service znc restart
  • Access the web console via https://znc:26244
  • All connections with IRC clients will be SSL.