Difference between revisions of "NgIRCd"

From Alpine Linux
Jump to: navigation, search
(Configuring ngIRCd)
(Configuring ngIRCd)
Line 45: Line 45:
 
'''Start irc server and add to boot'''
 
'''Start irc server and add to boot'''
  
  /etc/init.d/ngircdstart && rc-update add ngircd default
+
  /etc/init.d/ngircd start && rc-update add ngircd default
  
  
 
Now, connect to your IRC Server ip number, with your choice of IRC Client.
 
Now, connect to your IRC Server ip number, with your choice of IRC Client.

Revision as of 16:34, 30 July 2010

What is ngIRCd

ngIRCd is a free open source server for Internet Relay Chat (IRC), which is being developed under the GNU General Public License (GPL). It has been written from scratch and is consequently, unlike most other IRC daemons, not based on the originator, the daemon of the IRCNet.

Set up ngIRCd on Alpine Linux

This document will be a very quick c/p guide to setup ngIRCd on Alpine linux. What we will install is the following:

  • ngIRCd

Installing ngIRCd

Installing ngIRCd

apk add ngircd 

Configuring ngIRCd

The ngircd.conf is a sample configuration file for the ngIRCd IRC daemon, which must be customized to the local preferences and needs.

Edit ngircd.conf

nano /etc/ngircd/ngircd.conf

You will find a lot of configuration lines to uncomment and configure. At least you have to set the IRC Channels you want to use, that is under [Channel]. e.g.:

[Channel]
# Name of the channel
Name = #Support
# Topic for this channel
Topic = Support Channel - Please ask :)
# Initial channel modes
Modes = p
# initial channel password (mode k)
;Key = Secret
# Key file, syntax for each line: "<user>:<nick>:<key>".
# Default: none.
;KeyFile = /etc/ngircd/#chan.key
# maximum users per channel (mode l)
;MaxUsers = 23

Note: You can add all the channels you want!!

Start irc server and add to boot

/etc/init.d/ngircd start && rc-update add ngircd default


Now, connect to your IRC Server ip number, with your choice of IRC Client.