Материал из Wiki.VDSPlanet.ru.
Данная статья описывает установку Anope IRCd сервисов и привязку их для работы с UnrealIRCd сервером. Установка последнего описана здесь: Установка_UnrealIRCD
Начнемс:
- Качаем последнюю версию сервисов: wget http://voxel.dl.sourceforge.net/sourceforge/anope/anope-1.8.0.tar.gz
- Распаковываем: tar -xvf anope-1.8.0.tar.gz
- Переходим в папку с файлами сервисов: cd ano*
- Начинаем сборку: ./Config
In what directory do you want the binaries to be installed? [/home/pip/services] /home/pip/services does not exist. Create it? [y] y
Where do you want the data files to be installed? [/home/pip/services] /home/pip/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.) [] - Просто жмем Enter
What should the default umask for data files be (in octal)? (077 = only accessible by owner; 007 = accessible by owner and group) [077] 077
Allow anope to automatically check for mysql libaries? unless you get errors with make, there is no need to change this setting. [yes] yes
Идет процесс компиляции, после него Вас попросят начать процесс сборки: make. Начинаем его.
Последним шагом является make install.
All done, Anope is now installed. Please read docs/INSTALL for details on what to do now. [pip@server1 anope-1.8.0]$ cd /home/pip/services/ [pip@server1 services]$ cp example.conf services.conf
Далее ради спортивного интереса можно запустить сервисы и увидеть что им необходимо:
[pip@server1 services]$ ./services services.conf: IRCDModule missing services.conf: ServicesRoot missing services.conf: You must define the 'ServicesRoot' configuration directive services.conf: in your services.conf file. This is a required setting that services.conf: defines the main Administrative nick(s) Anope will obey. services.conf: No ServicesRoot defined
Идем в конфиг и находим данные значения.
[pip@server1 services]$ vim services.conf
- Строка 98 должна выглядеть так: IRCDModule "unreal32"
- Строка 196 отвечает за связь с вашим IRCd. Это стандартный link для UnrealIRCd: RemoteServer localhost 6667 "test_link"
- Строка 227 редактируется по желанию и если вы хотите видеть сервисы в сети с красивым названием: ServerName "services.localhost.net"
- Строки 379, 380, 381 меняем на свои желаемые значения:
- UserKey1 9866235
- UserKey2 8362013
- UserKey3 2362899
- Строка 1146 отвечает за ники, которые Anope будет распознавать как root администратора сервисов: ServicesRoot "dengel anope"
В unrealircd.conf необходимо добавить блок похожего вида:
link services.localhost.net {
username *;
hostname 127.0.0.1;
bind-ip *;
port 6667;
hub *;
password-connect "test_link";
password-receive "test_link";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
};
};
Соответственно Ulines:
ulines {
services.localhost.net;
};
И собственно самый конец конфига, блок Set aka /* Network configuration */ :
services-server "services.localhost.net";
Запустив сервисы ./services из services дирректории идем в irc и видим вводя команду /map:
- irc.foonet.com (1) 1 `-services.localhost.net (8) End of /MAP

