1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
<head xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title xmlns="">IRC Server</title>
7
<link rel="stylesheet" href="../../libs/ubuntu-book.css" type="text/css" />
8
<link rel="home" href="index.html" title="Ubuntu Server Guide" />
9
<link rel="up" href="chat-servers.html" title="Chapter 15. Chat Applications" />
10
<link rel="prev" href="chat-overview.html" title="Overview" />
11
<link rel="next" href="jabberd2-server.html" title="Jabber Instant Messaging Server" />
12
<link rel="copyright" href="legal.html" title="Credits and License" />
16
<img id="topcap" alt="" src="https://help.ubuntu.com/htdocs/ubuntunew/img/cap-top.png" />
17
<div id="layout" class="container clear-block">
18
<script xmlns="" src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>
19
<script xmlns="" type="text/javascript">
20
_uacct = "UA-1018242-8";
24
<div id="logo-floater">
26
<a href="https://help.ubuntu.com" title="Ubuntu Documentation">
27
<img alt="Ubuntu" id="logo" src="https://help.ubuntu.com/htdocs/ubuntunew/img/logo.png" />
32
<form action="http://www.google.com/cse" id="cse-search-box">
34
<input type="hidden" name="cx" value="003883529982892832976:e2vwumte3fq" />
35
<input type="hidden" name="ie" value="UTF-8" />
36
<input type="text" name="q" size="27" />
37
<input type="submit" name="sa" value="Search" />
42
document.write('<form action="https://help.ubuntu.com/search.html" id="cse-search-box">');
43
document.write(' <div>');
44
document.write(' <input type="hidden" name="cof" value="FORID:9" />');
45
document.write(' <input type="hidden" name="cx" value="003883529982892832976:e2vwumte3fq" />');
46
document.write(' <input type="hidden" name="ie" value="UTF-8" />');
47
document.write(' <input type="text" name="q" size="27" />');
48
document.write(' <input type="submit" name="sa" value="Search" />');
49
document.write(' </div>');
50
document.write('</form>');
53
<a href="https://help.ubuntu.com/">
54
<img alt="Official Documentation" src="https://help.ubuntu.com/htdocs/ubuntunew/img/help-about.png" />
55
<span>Official Documentation</span>
61
<div class="breadcrumbs"><a href="https://help.ubuntu.com/">Ubuntu Documentation</a> > <a href="https://help.ubuntu.com/11.04">Ubuntu 11.04</a> > <span class="breadcrumb-link"><a href="index.html">Ubuntu Server Guide</a></span> > <span class="breadcrumb-link"><a href="chat-servers.html">Chat Applications</a></span> > <span class="breadcrumb-node">IRC Server</span></div>
62
<div xmlns="http://www.w3.org/1999/xhtml" class="sect1" title="IRC Server">
63
<div class="titlepage">
66
<h2 class="title" style="clear: both"><a id="irc-server"></a>IRC Server</h2>
71
The Ubuntu repository has many Internet Relay Chat servers. This
72
section explains how to install and configure the original IRC
73
server <span class="application"><strong>ircd-irc2</strong></span>.
75
<div class="sect2" title="Installation">
76
<div class="titlepage">
79
<h3 class="title"><a id="irc-installation"></a>Installation</h3>
84
To install <span class="application"><strong>ircd-irc2</strong></span>, run the following
85
command in the command prompt:
88
<span class="command"><strong>sudo apt-get install ircd-irc2</strong></span>
91
The configuration files are stored in
92
<code class="filename">/etc/ircd</code> directory. The documents are
93
available in <code class="filename">/usr/share/doc/ircd-irc2</code>
97
<div class="sect2" title="Configuration">
98
<div class="titlepage">
101
<h3 class="title"><a id="irc-configuration"></a>Configuration</h3>
106
The IRC settings can be done in the configuration file
107
<code class="filename">/etc/ircd/ircd.conf</code>. You can set the IRC host
108
name in this file by editing the following line:
110
<pre class="programlisting">
111
M:irc.localhost::Debian ircd default configuration::000A
114
Please make sure you add DNS aliases for the IRC host name. For
115
instance, if you set irc.livecipher.com as IRC host name, please
116
make sure irc.livecipher.com is resolvable in your Domain Name
117
Server. The IRC host name should not be same as the host name.
120
The IRC admin details can be configured by editing the following
123
<pre class="programlisting">
124
A:Organization, IRC dept.:Daemon <ircd@example.irc.org>:Client Server::IRCnet:
127
You should add specific lines to configure the list of IRC ports to
128
listen on, to configure Operator credentials, to configure client
129
authentication, etc. For details, please refer to the example
131
<code class="filename">/usr/share/doc/ircd-irc2/ircd.conf.example.gz</code>.
134
The IRC banner to be displayed in the IRC client, when the user
135
connects to the server can be set in
136
<code class="filename">/etc/ircd/ircd.motd</code> file.
139
After making necessary changes to the configuration file, you can
140
restart the IRC server using following command:
142
<pre class="programlisting">
143
sudo /etc/init.d/ircd-irc2 restart
146
<div class="sect2" title="References">
147
<div class="titlepage">
150
<h3 class="title"><a id="irc-references"></a>References</h3>
155
You may also be interested to take a look at other IRC servers
156
available in Ubuntu Repository. It includes,
157
<span class="application"><strong>ircd-ircu</strong></span> and
158
<span class="application"><strong>ircd-hybrid</strong></span>.
160
<div class="itemizedlist">
161
<ul class="itemizedlist" type="disc">
162
<li class="listitem">
164
Refer to <a class="ulink" href="http://www.irc.org/tech_docs/ircnet/faq.html" target="_top">IRCD
165
FAQ</a> for more details about the IRC Server.
168
<li class="listitem">
170
Also, the <a class="ulink" href="https://help.ubuntu.com/community/ircd" target="_top">Ubuntu Wiki IRCD</a> page has more information.
178
<div xmlns="http://www.w3.org/1999/xhtml" class="navfooter">
180
<table width="100%" summary="Navigation footer">
182
<td width="40%" align="left"><a accesskey="p" href="chat-overview.html"><img src="../../libs/navig/prev.png" alt="Prev" /></a> </td>
183
<td width="20%" align="center">
184
<a accesskey="u" href="chat-servers.html">
185
<img src="../../libs/navig/up.png" alt="Up" />
188
<td width="40%" align="right"> <a accesskey="n" href="jabberd2-server.html"><img src="../../libs/navig/next.png" alt="Next" /></a></td>
191
<td width="40%" align="left" valign="top">Overview </td>
192
<td width="20%" align="center">
193
<a accesskey="h" href="index.html">
194
<img src="../../libs/navig/home.png" alt="Home" />
197
<td width="40%" align="right" valign="top"> Jabber Instant Messaging Server</td>
203
<div id="ubuntulinks">
204
<p>The material in this document is available under a free license, see <a href="/legal.html">Legal</a> for details<br />
205
For information on contributing see the <a href="https://wiki.ubuntu.com/DocumentationTeam">Ubuntu Documentation Team wiki page</a>. To report a problem, visit the <a href="https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs">bug page for Ubuntu Documentation</a></p>
209
<img src="https://help.ubuntu.com/htdocs/ubuntunew/img/cap-bottom.png" alt="" />