NgIRCd: Difference between revisions

From Alpine Linux
mNo edit summary
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== What is ngIRCd==
[http://ngircd.barton.de/ ngIRCd] is a free open source server for Internet Relay Chat (IRC). It has been written from scratch and is consequently, unlike most other IRC daemons, not based on the originator, the daemon of the IRCNet.
 
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 ==


'''Installing ngIRCd '''
{{Cmd|apk add ngircd}}
 
apk add ngircd  


== Configuring ngIRCd ==
== Configuring ngIRCd ==
Line 19: Line 9:
The ''ngircd.conf'' is a sample configuration file for the ngIRCd IRC daemon, which must be customized to the local preferences and needs.  
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'''
{{Cmd|nano /etc/ngircd/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]''.
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]''.
Line 43: Line 31:
Note: You can add all the channels you want!!
Note: You can add all the channels you want!!


'''Start irc server and add to boot'''
== Start irc server and add to boot ==


/etc/init.d/ngircd start && rc-update add ngircd default
{{Cmd|/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.
[[Category:Server]]

Revision as of 00:04, 7 January 2013

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

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.

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.