Voilà, c'est le grand jour, vous avez décider d'installer un tchat, et comme beaucoup, vous avez choisi l'unrealircd pour faire celà. Ce n'est pas l'unique choix que vous avez, mais pour commencer, pourquoi pas celui-ci, de plus, il est bien documenter au travers du net. Et rassurez-vous, ce n'est pas très compliquer de l'installer.
Comme souvent, vous avez le choix entre, mettre ça sur votre PC puis l'upload via le FTP, ou directement avec l'outil linux “wget”. Avec Putty pour être sur votre compte. Le chargement de l'unrealircd ce fais comme suis, pour la dernière version stable à cette heure : Unreal3.2.8.1
wget http://unreal.brueggisite.de/Unreal3.2.8.1.tar.gz
Ce qui vous donne un joli :
-14:46- [nicolas@sweet tmp] $ wget http://unreal.brueggisite.de/Unreal3.2.8.1.tar.gz --2009-06-24 14:47:08-- http://unreal.brueggisite.de/Unreal3.2.8.1.tar.gz Résolution de unreal.brueggisite.de... 89.110.157.162 Connexion vers unreal.brueggisite.de|89.110.157.162|:80...connecté. requête HTTP transmise, en attente de la réponse...200 OK Longueur: 2866456 (2,7M) [application/octet-stream] Saving to: `Unreal3.2.8.1.tar.gz' 100%[==========================================================>] 2 866 456 153K/s in 18s 2009-06-24 14:47:26 (151 KB/s) - « Unreal3.2.8.1.tar.gz » sauvegardé [2866456/2866456]
Et voilà vous avez le ce qu'il vous faut.
Toujours la même commandes, pour de explication sur les lettres zxvf, regarder les explication donné sur ce wiki, c'est parreil.Décompression d'un eggdrop
tar zxvf Unreal3.2.8.1.tar.gz
Tout d'abord, vous devez rentré dans le dossier que vous venez de créer en décompressant.
cd Unreal3.2
Puis faite :
./Config
En faite sous linux on dispose d'une série d'exécutable dans un fichier /usr/bin/ (ce n'est pas le seul endrois qu'il y en as) donc lorsqu'on marque wget par exemple il va chercher le binaire ce trouvant dans ce repertoire, on pourais marquer le chemin relatif /usr/bin/wget ça fonctionnerai de même. Donc il va chercher le binaire grace au $PATH et blablabla
Donc, dans ce cas, le point . représente le répertoire où vous êtes, tout comme le .. représente le répertoire parent. Et donc vous lui dite, execute le binaire configure dans ce repertoire. Ce qui reviendrai au même que la commande:
/home/votrecompte/Unreal3.2/Config
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _ | | | | | / | | / _ |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
Configuration Program
for Unreal3.2.8.1
This program will help you to compile your IRC server, and ask you
questions regarding the compile-time settings of it during the process.
regarding the setup of it, during the process.
If you have problems regarding the setup & compile, read Unreal.nfo to get
more information on where to get help. Please, before running this setup,
read the documentation in the "doc" folder. Docs are also avail online @
http://www.unrealircd.com/unreal32docs.html
[Enter to continue]
....
(long texte sur des remarque de la dernière sortie)
....
Many older operating systems have an insecure TCP/IP stack
which may be vulnerable to IP spoofing attacks, if you run
an operating system that is vulnerable to such attacks
enable this option. This option can also be useful to prevent
blind proxies from connecting (eg: HTTP POST proxies).
Do you want to enable the server anti-spoof protection?
[No] ->
What directory are all the server configuration files in?
[/home/nicolas/telechargement/tmp/Unreal3.2] ->
What is the path to the ircd binary including the name of the binary?
[/home/nicolas/telechargement/tmp/Unreal3.2/src/ircd] ->
Would you like to compile as a hub or as a leaf?
Type Hub to select hub and Leaf to select leaf.
[Hub] ->
What is the hostname of the server running your IRCd?
[sweet] ->
What should the default permissions for your configuration files be? (Set this to 0 to disable)
It is strongly recommended that you use 0600 to prevent unwanted reading of the file
[0600] ->
Do you want to support SSL (Secure Sockets Layer) connections?
[No] ->
Do you want to enable IPv6 support?
[No] ->
Do you want to enable ziplinks support?
[No] ->
Do you want to enable remote includes?
[No] ->
Do you want to enable prefixes for chanadmin and chanowner?
This will give +a the & prefix and ~ for +q (just like +o is @)
Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient,
PJIRC, irssi, CGI:IRC, etc.)
This feature should be enabled/disabled network-wide.
[Yes] ->
What listen() backlog value do you wish to use? Some older servers
have problems with more than 5, others work fine with many more.
[5] ->
How far back do you want to keep the nickname history?
[2000] ->
What is the maximum sendq length you wish to have?
[3000000] ->
How many buffer pools would you like?
This number will be multiplied by MAXSENDQLENGTH.
[18] ->
How many file descriptors (or sockets) can the IRCd use?
[1024] ->
Would you like any more parameters to configure?
Write them here:
[]->
Lorsque Vous avez fini votre configuration, plein de texte va défiler et c'est normal, jusqu'à obtenir :
| | | UnrealIRCd Compile-Time Config | |_______________________________________________________________________| |_______________________________________________________________________| | | | Now all you have to do is type 'make' and let it compile. When that's | | done, you will receive other instructions on what to do next. | | | |_______________________________________________________________________| |_______________________________________________________________________| | - The UnrealIRCd Team - | | | | * Stskeeps stskeeps@unrealircd.com | | * codemastr codemastr@unrealircd.com | | * Syzop syzop@unrealircd.com | |_______________________________________________________________________|
faite ce qu'il dis et tapez :
make
Il fait la compilation, jusqu'as optenir si tout c'est bien passer :
__________________________________________________ | Compile is now complete. | | You should now read the documentation and learn | | how to configure your IRCd. | | | | If you really like UnrealIRCd, and would like to | | make a donation, please read the Donation file in| | this archive. :) | | | | Thanks for using Unreal IRCd! If you are in need | | for any kind of help regarding the IRCd please | | read the Unreal.nfo file. | |__________________________________________________|
Pour cette étape suivez la page suivante : Configuration du fichier unrealircd.conf
Vous avez bien configurez et uploadez le fichier unrealircd.conf par le FTP. Il ne vous reste plus qu'as démarer le “Deamon”
./unreal start
Si tout ce passe comme prévu vous devriez voir ça:
Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.8.1
using TRE 0.7.5 (LGPL)
* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Dynamic configuration initialized .. booting IRCd.
---------------------------------------------------------------------
Usage: unreal start|stop|rehash|restart|mkpasswd|version|gencloak
Pour que le lancement de l'unreal ce passe sans problème, il faut que le fichier de configuration soit bien fait. Parfois, on peux rencontrer des erreurs.
Comme normalement il n'y es pas par défaut le fichier, il conviens de le créer avant. Sinon il ce peux que vous rencontrerez ce message :
* Loading IRCd configuration .. [error] unrealircd.conf:127: tld::motd: ircd.motd: No such file or directory [error] unrealircd.conf:128: tld::rules: ircd.rules: No such file or directory [error] 2 errors encountered [error] IRCd configuration failed to pass testing Possible error encountered (IRCd seemingly not started)
Vous prenez votre block-note favori, créez un fichier sous le nom ircd.motd, et ircd.rules, puis par FTP, vous les uploadez. Ainsi le message d'erreur disparet.
[error] unrealircd.conf:106: illegal me::name, must be fully qualified hostname
Dans ce cas c'est parce que à la ligne 106 cette variable été mal renseigner (en même temps vu ce que j'avais mi c'est plutôt normal
):
######
# Me #
######
me {
name "pouet";
illegal me::name
Donc dans le block “me”, la variable “name”
— Nic0 2009/08/07 17:05