NgIRCd: Difference between revisions

From Alpine Linux
(Category:Server)
(replace /etc/init.d with rc-service)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== What is ngIRCd==
[https://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.


== Installing ngIRCd ==
== Installing ngIRCd ==
Line 39: Line 33:
== Start irc server and add to boot ==
== Start irc server and add to boot ==


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

Latest revision as of 10:24, 17 November 2023

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

rc-service ngircd start && rc-update add ngircd default

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