IRC Server

The Ubuntu repository has many Internet Relay Chat servers. This section explains how to install and configure the original IRC server ircd-irc2.

Installation

To install ircd-irc2, run the following command in the command prompt:

sudo apt-get install ircd-irc2

The configuration files are stored in /etc/ircd directory. The documents are available in /usr/share/doc/ircd-irc2 directory.

Configuration

The IRC settings can be done in the configuration file /etc/ircd/ircd.conf. You can set the IRC host name in this file by editing the following line:

M:irc.localhost::Debian ircd default configuration::000A

Please make sure you add DNS aliases for the IRC host name. For instance, if you set irc.livecipher.com as IRC host name, please make sure irc.livecipher.com is resolvable in your Domain Name Server. The IRC host name should not be same as the host name.

The IRC admin details can be configured by editing the following line:

A:Organization, IRC dept.:Daemon <[email protected]>:Client Server::IRCnet:

You should add specific lines to configure the list of IRC ports to listen on, to configure Operator credentials, to configure client authentication, etc. For details, please refer to the example configuration file /usr/share/doc/ircd-irc2/ircd.conf.example.gz.

The IRC banner to be displayed in the IRC client, when the user connects to the server can be set in /etc/ircd/ircd.motd file.

After making necessary changes to the configuration file, you can restart the IRC server using following command:

sudo service ircd-irc2 restart

References

You may also be interested to take a look at other IRC servers available in Ubuntu Repository. It includes, ircd-ircu and ircd-hybrid.

  • Refer to IRCD FAQ for more details about the IRC Server.