261
1. Overview
In this section, we will discuss how to install and configure a IRC server, ircd-irc2. We will also discuss how to install and configure Jabber, an instance messaging server.
262
2. 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.
2.1. 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
etcircd
directory. The documents are available in
usr sharedocircd-irc2
directory.
2.2. Configuration
The IRC settings can be done in the configuration file
etcircdircd.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 ircdexample.irc.org: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
usrsharedocircd-irc2ircd.conf.example.gz
. The IRC banner to be displayed in the IRC client, when the user connects to the server can be set in
etcircdircd.motd
file. After making necessary changes to the configuration file, you can restart the IRC server using
following command:
sudo etcinit.dircd-irc2 restart
2.3. 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.
263 • Refer to IRCD FAQ
1
for more details about the IRC Server.
1 http:www.irc.orgtech_docsircnetfaq.html
264
3. Jabber Instant Messaging Server