NgIRCd

来自 阿尔派 Linux

ngIRCd 是一个免费开源的 Internet Relay Chat (IRC) 服务器。它从头开始编写,因此,与大多数其他 IRC 守护程序不同,它不是基于 IRCNet 守护程序的始发者。

安装 ngIRCd

apk add ngircd

配置 ngIRCd

ngircd.conf 是 ngIRCd IRC 守护程序的示例配置文件,必须根据本地偏好和需求进行自定义。

nano /etc/ngircd/ngircd.conf

您会找到许多配置行可以取消注释和配置。至少您必须设置您想要使用的 IRC 频道,这在 [Channel] 下。例如:

[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

注意:您可以添加所有您想要的频道!!

启动 IRC 服务器并添加到启动项

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

现在,使用您选择的 IRC 客户端连接到您的 IRC 服务器 IP 地址。