Comme normalement vous commencer à avoir l'habitude des compilation, je ne reprendrais pas toute les explications que j'ai pu donner dans les autres chapitre, Je vous invite quand même à lire les chapitres sur les eggdrops et l'unrealircd si ce n'est déjà fait.
Comme toujours, deux moyens de le faire, par FTP, ou avec l'outil wget qui est plus rapide. La dernière version “stable” en date est la 1.8.0.
wget http://tuto-tchat.nicosphere.net/src/anope-1.8.4.tar.gz
On décompresse :
tar zxvf anope-1.8.4.tar.gz
Puis on entre dans le répertoire :
cd anope-1.8.4
./Config
Une série de questions vous est posé, vous pouvez garder les valeur par défaut, donc “entrer” à chaque questoin.
___
/ _ \ http://www.anope.org
| /_\ | _ __ _ _ _ _ ___
| _ || '_ \/ _ \/ _ \ / _ \
| | | || | | |_| |_| | __/
|_| |_||_| |_\___/| _/ \___|
| |
|_| IRC Services
1.8.0
This program will help you to compile your Services, and ask you
questions regarding the compile-time settings of it during the
process. For more options type ./Config --help
Anope is a set of Services for IRC networks that allows users to
manage their nicks and channels in a secure and efficient way,
and administrators to manage their network with powerful tools.
For all your Anope needs please visit our portal at www.anope.org
Beginning Services configuration.
Note: press Return for the default, or enter a new value.
In what directory do you want the binaries to be installed?
[/home/nicolas/services]
Where do you want the data files to be installed?
[/home/nicolas/services]
Which group should all Services data files be owned by? (If Services
should not force files to be owned by a particular group, just press
Return.)
[]
What should the default umask for data files be (in octal)?
(077 = only accessible by owner; 007 = accessible by owner and group)
[077]
Allow anope to automatically check for mysql libaries?
unless you get errors with make, there is no need to
change this setting.
[yes]
Puis :
make make install
Voilà la compilation terminer, il reste à passer à la configuration du fichier services.conf
Prenez le fichier suivant : services.conf
Modifier cette partie :
RemoteServer 194.146.224.132 7000 "mot-de-passe" ServerName "Service.eXolia.net" ServerDesc "Service eXolia.net" ServiceUser "Service@eXolia.net"
ulines {
Service.eXolia.net;
};
link Service.eXolia.net {
username *;
hostname 194.146.224.132;
bind-ip *; port 7000;
hub *;
password-receive "mot-de-passe";
password-connect "mot-de-passe";
class servers;
};
Si celui-ci n'est pas bien configurer pour votre server, faite le puis, penser à faire un rehash de l'unrealircd.
UserKey1 7546821 UserKey2 9747246 UserKey3 1761297
ces chiffres servant pour le cryptage, il est préférable de les changer, d'en mettre d'autre sous la même forme.
Vous devez remplacer votre pseudo. Pour pouvoir utiliser le superadmin vous devez avant cela enregistrer votre pseudo par le nickserv. c'est indispensable pour cela.
ServicesRoot "TiSmA" SuperAdmin
Pour le reste, vous pouvez bien sûr regarder, et je vous y encourage, mais aucune fonction est indispensable au bon démarrage de ce service.
Une fois le fichier correctement remplis, uploadez le via FTP dans le répertoire ~/services/
Aller dans le repertoire service sur votre shell:
cd ~/service
puis lancer les services :
./services
Rien ne s'affiche en console mais par contre sur l'IRC, vous devez recevoir des notices similaire à ça :
[Server notice] irc.sweet.net » *** Notice -- (link) Link irc.sweet.net -> Service.sweet.net[@***.***.***.***.47810] established [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for OperServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for NickServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for ChanServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for HostServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for MemoServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for BotServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for HelpServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for ConnectServ on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] [Server notice] irc.sweet.net » *** Permanent Global Q:line added for Global on Thu Jun 25 00:53:42 2009 GMT (from Service.sweet.net: Reserved for services) [02:53:43] <Global> [>> $irc.sweet.net] Les Services sont de nouveau opérationnels. [02:53:43] [Snotice] Nic0 deviens IRC Operator [02:53:43] [Server notice] irc.sweet.net » *** Global -- from OperServ: Nic0 is now an IRC operator. [02:53:43] [Server notice] irc.sweet.net » *** Notice -- Link Service.sweet.net -> irc.sweet.net is now synced [secs: 0 recv: 1.774 sent: 1.698]
Ces message sont normaux, pas besoin de s'inquièter.
— Nic0 2009/08/07 17:09