个人工具

“UbuntuHelp:IrcServer”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示2个用户的6个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:IrcServer}}
 
{{Languages|UbuntuHelp:IrcServer}}
 
=== What this wiki will talk about? ===
 
=== What this wiki will talk about? ===
 
+
I'm creating this wiki page trying to help people that want to install an IRC Server with Services(Nickserv,Chanserv and Memoserv) .There will be a list of some good servers softwares like bahamut or ircd-hybrid with an HOWTO for the installation of the server itself and services related to it, also ill make a related wiki with some informations about IRC commands that can be used both client and server side.(I'll do examples using ircd-hybrid as server software).
I'm creating this wiki page trying to help people that want to install an IRC Server with Services(Nickserv,Chanserv and Memoserv) .There will be a list of some good servers softwares like bahamut or ircd-hybrid with an HOWTO for the installation of the server itself and services related to it, also ill make a related wiki with some informations about Irc commands that can be used both client and server side.(i'll do examples using ircd-hybrid as server software).
+
 
+
 
+
 
=== Available Server Software ===
 
=== Available Server Software ===
 
 
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
| austhex7.5.p11||http://bahamut.dal.net/
+
| [http://bahamut.dal.net/ austhex] || [http://bahamut.dal.net/ Bahamut ]
 
|-
 
|-
| Bahamut 1.8.3||http://bahamut.dal.net/
+
| [http://www.doc.ic.ac.uk/~aps100/dancer/ dancer-ircd] || [http://www.dal.net DreamForge]
 
|-
 
|-
| dancer-ircd 1.0||http://www.doc.ic.ac.uk/~aps100/dancer/
+
| [http://ircu.sourceforge.net/ IRCd] || [http://tr-ircd.sourceforge.net/ TR-IRCD]
 
|-
 
|-
| DreamForge 4.6.7||http://www.dal.net
+
| [http://www.shadow-realm.org/ UltimateIRCd] || [http://www.unrealircd.com/ Unreal]
|-
+
| IRCd 2.10.3p3||http://www.irc.org/
+
|-
+
| IRCd 2.10.10||http://ircu.sourceforge.net/
+
|-
+
| TR-IRCD 5.7.3||http://tr-ircd.sourceforge.net/
+
|-
+
| UltimateIRCd 3.0.0||http://www.shadow-realm.org/
+
|-
+
| Unreal 3.2.4||http://www.unrealircd.com/
+
 
|}
 
|}
 
 
=== How to install ircd-hybrid ===
 
=== How to install ircd-hybrid ===
 
 
There are two ways to install this software ,all of them are really easy :
 
There are two ways to install this software ,all of them are really easy :
 
 
* Using synaptic with searching the word ircd-hybrid
 
* Using synaptic with searching the word ircd-hybrid
 
* Downloading the source and installing it  
 
* Downloading the source and installing it  
 
+
To install using the first method please take a look at [[UbuntuHelp:SoftwareManagement|Installing|Software]].
I think that i dont need to explain the first way, so lets view the second one.
+
For the second method please read on;
First download the software at this site     ,then compile it using these commands:
+
First download the software from [http://ircd-hybrid.com/ this site], then compile it using these commands:
 
<pre><nowiki>  
 
<pre><nowiki>  
 
  tar zxvf filename.tar.gz
 
  tar zxvf filename.tar.gz
第43行: 第26行:
 
  make && make install
 
  make && make install
 
</nowiki></pre>
 
</nowiki></pre>
 
+
'''Note''': Remember to edit the ircd.conf file to personalize your servers settings.
'''Note''': Remember to edit the ircd.conf file to personalize your server settings
+
Given you complete these steps error free, you will be able to join your brand new server using your favorite [[UbuntuHelp:InternetRelayChat|InternetRelayChat]] Client. To join your server you would typically enter the following command;
 
+
After you have done these steps without getting errors ,you will be able to join your brand new server using of course your favourite Irc Client. To enter inside just open a new server tab and write this :
+
 
<pre><nowiki>  
 
<pre><nowiki>  
 
  /server 127.0.0.1  
 
  /server 127.0.0.1  
 
</nowiki></pre>
 
</nowiki></pre>
This was the easier part of this wiki page, now we can go on with services, there are a lot of different services software ,here it is a list of them:
+
This was the easier part of this wiki page, now we can go on with installing services, there are a lot of different services software, here it is a list of some available:
 
+
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
| Anope 1.7.14 ||http://www.anope.org/
+
| [http://www.anope.org/ Anope] || [http://www.anope.org/ Anope with MySQL]
 
|-
 
|-
| Anope 1.7.14 MySQL||http://www.anope.org/
+
| [http://www.inmean.com Auspice] || [http://www.epona.org/ Epona]
 
|-
 
|-
| Auspice 2.8 Beta ||http://www.inmean.com/default.asp
+
| [http://www.hybserv.net Hybserv] || [http://ircdefender.sourceforge.net IRC Defender]
 
|-
 
|-
| Epona 1.4.14 ||http://www.epona.org/
+
| [http://www.ircservices.esper.net/ Esper IRC Services] || [http://www.neostats.net/ NeoStats]
 
|-
 
|-
| Epona 1.4.14 diff ||http://www.epona.org/
+
| [http://srvx.sourceforge.net/ srvx] ||
|-
+
| Hybserv2 1.9.2 ||http://www.hybserv.net/
+
|-
+
| IRC Defender 1.3.6 ||http://ircdefender.sourceforge.net
+
|-
+
| IRC Services 4.5.40 ||http://www.ircservices.esper.net/
+
|-
+
| NeoStats 2.5.3 ||http://www.neostats.net/
+
|-
+
| srvx 1.1.2 ||http://srvx.sourceforge.net/
+
 
|}
 
|}
 
+
=== Installing Services ===
=== How to install Ircd services(I'll use epona services for this example) ===
+
'''Note''': In this example we will use Epona.
 
+
Before making your IRC server public it would be a good idea to install some network services for maintenance of the network. NickServ, ChanServ and MemoServ are services that you may be familiar with from other networks.
Before thinking of how you can connect the services to the server , we have to say something before. Now you only have to download and compile the source like we have done above.(./configure - make && make install).
+
Download the source from the Epona website and use the above method to compile them (as you did with the IRCd). Once you have completed that you '''will''' need to edit your services.conf which is used for information for the Services.
After you have finished with this first part we can start editing the file services.conf that will store informations regarding the server where services have to be connected.
+
Inside that file you will have to fill all things that aren't yet filled in, take a look over and add some details to customize your network. If you want to take the simple option paste the following lines ''replacing your information''.
Inside that file you will have to fill all things that arent yet filled, adding some informations about the password that will be used later for the connection, or the server address and much more.
+
But in this page ,ill explain what you have to do inside the ircd.conf file to link services to the server. Thats not hard ,just copy and paste this lines
+
 
<pre><nowiki>  
 
<pre><nowiki>  
 
Y:27:180:0:0:4000000
 
Y:27:180:0:0:4000000
第89行: 第57行:
 
H:*::Services.LocalHost.Net
 
H:*::Services.LocalHost.Net
 
</nowiki></pre>
 
</nowiki></pre>
 
 
'''Note''': Services.LocalHost.Net is the services name used in the services.conf file
 
'''Note''': Services.LocalHost.Net is the services name used in the services.conf file
 
 
In the password space you will have to put the same password used in services.conf file.
 
In the password space you will have to put the same password used in services.conf file.
 
 
Now just start up services using this command inside services folder :
 
Now just start up services using this command inside services folder :
 
 
<pre><nowiki>  
 
<pre><nowiki>  
 
  ./services
 
  ./services
 
</nowiki></pre>
 
</nowiki></pre>
 
+
If there are no errors the services should connect to the network a couple of minutes later. If not you will need to look at the logs to find out what is wrong.
If you have done a good work ,services will be connected after few minutes to the server ,if not you will find insde log folder ,the log regarding errors found at startup.
+
Thats all for now. Users and Operators commands wiki page available soon.
 
+
----
Thats all. Users and Operators commands wiki page available soon.
+
[[category:CategorySoftware]]
 
+
[[category:CategoryDocumentation]]
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 23:32的最新版本

What this wiki will talk about?

I'm creating this wiki page trying to help people that want to install an IRC Server with Services(Nickserv,Chanserv and Memoserv) .There will be a list of some good servers softwares like bahamut or ircd-hybrid with an HOWTO for the installation of the server itself and services related to it, also ill make a related wiki with some informations about IRC commands that can be used both client and server side.(I'll do examples using ircd-hybrid as server software).

Available Server Software

austhex Bahamut
dancer-ircd DreamForge
IRCd TR-IRCD
UltimateIRCd Unreal

How to install ircd-hybrid

There are two ways to install this software ,all of them are really easy :

  • Using synaptic with searching the word ircd-hybrid
  • Downloading the source and installing it

To install using the first method please take a look at Installing|Software. For the second method please read on; First download the software from this site, then compile it using these commands:

 
 tar zxvf filename.tar.gz
 cd /path/to/source
 ./configure
 make && make install

Note: Remember to edit the ircd.conf file to personalize your servers settings. Given you complete these steps error free, you will be able to join your brand new server using your favorite InternetRelayChat Client. To join your server you would typically enter the following command;

 
 /server 127.0.0.1 

This was the easier part of this wiki page, now we can go on with installing services, there are a lot of different services software, here it is a list of some available:

Anope Anope with MySQL
Auspice Epona
Hybserv IRC Defender
Esper IRC Services NeoStats
srvx

Installing Services

Note: In this example we will use Epona. Before making your IRC server public it would be a good idea to install some network services for maintenance of the network. NickServ, ChanServ and MemoServ are services that you may be familiar with from other networks. Download the source from the Epona website and use the above method to compile them (as you did with the IRCd). Once you have completed that you will need to edit your services.conf which is used for information for the Services. Inside that file you will have to fill all things that aren't yet filled in, take a look over and add some details to customize your network. If you want to take the simple option paste the following lines replacing your information.

 
Y:27:180:0:0:4000000
C:127.0.0.1:YourPwd:Services.LocalHost.Net::30
N:127.0.0.1:Yourpwd:Services.LocalHost.Net::30

U:Services.LocalHost.Net:*:*

H:*::Services.LocalHost.Net

Note: Services.LocalHost.Net is the services name used in the services.conf file In the password space you will have to put the same password used in services.conf file. Now just start up services using this command inside services folder :

 
 ./services

If there are no errors the services should connect to the network a couple of minutes later. If not you will need to look at the logs to find out what is wrong. Thats all for now. Users and Operators commands wiki page available soon.