Показать сообщение отдельно

  #6  
Старый 25.08.2008, 14:05
Аватар для neval
neval
Moderator - Level 7
Регистрация: 13.12.2006
Сообщений: 531
Провел на форуме:
2127116

Репутация: 383


По умолчанию

3. СБОРКА anope-1.6.5

Код:
cd /home/admin/source/anope-1.6.5
./configure
Цитата:
-========================= A N O P E ==========================-
For more detailed information on the features of Anope1.6 please
read the self-named documentation found on the 'docs' directory.

Anope is a set of IRC Service expanded upon Lara's Epona, based
on Andy Church's IRC Services. For all your Anope needs please
visit our portal at http://www.anope.org/

Please read the INSTALL file for install/upgrade instructions.
Reading the FAQ and README files would be a good idea too. (all
documentation is located on directory 'docs').
-================================================== ============-

Beginning Services configuration.

Using defaults from config.cache. To ignore, either rm config.cache
or give the command-line option "-ignore-cache".

Note: press Return for the default, or enter a new value.
In what directory do you want the binaries to be installed?
[/home/admin/anope_bin] /home/admin/anope_bin <enter>

Where do you want the data files to be installed?
[/home/admin/data] /home/admin/data <enter>

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] <enter>

Select the closest to the type of server on your IRC network:
1) DreamForge 4.6.7 [dated IRCd, upgrade to a current one]
2) Bahamut 1.4.27 [or later]
3) UnrealIRCd 3.1.1 [or later]
4) UltimateIRCd 2.8.2 [or later]
5) UltimateIRCd 3.0.0 [alpha26 or later]
6) Hybrid IRCd 7.0 [experimental]
7) ViagraIRCd 1.3.x [or later]
8) PTlink 6.15.0 [experimental]
[3] 3 <enter>

Do you want to use the MD5 message-digest algorithm to encrypt passwords?
(Selecting "yes" protects your passwords from being stolen if someone
gains access to the Services databases, but makes it impossible to recover
forgotten passwords. There is no way to reverse this operation, so make
sure you really want to enable it.)
[no] no <enter>

Do you want to compile Anope with threading support?
If you want to use the proxy detector, you MUST have this. If you get
compilation errors, you should disable this feature and try again.
[no] no <enter>

Do you want to compile Anope with MySQL support?
At this time Anope is able to dump all databases into MySQL. That means
you get a read-only copy of the data. If you plan to run any module that
uses MySQL, you should enable this option as well.
[no] no <enter>

Do you want to compile Anope with Module support?
This will allow you to load and unload external modules of code without
restarting services. You can find several Anope modules on our website.
This requires libdl, if you have problems compiling disable this option.
(this option is ignored on OpenBSD for the time being)
[no] no <enter>
По завершению:

Код:
make
По завершению:

Код:
make install
Готово

Создаем файл конфига, также вписываем туда параметры, указанные ниже, предварительно заменив все что с коментами своими значениями

Код:
nano home/admin/data/services.conf
Код HTML:
RemoteServer    localhost 6667 "qwerty" // Смените пароль на тот, который указан в  link services.irc.loc в файле unrealircd.conf 
ServerName  "services.irc.loc"
ServerDesc  "Services for IRC Networks"
ServiceUser "services@localhost.net"
NickServName    "NickServ"  "Nickname Server"
ChanServName    "ChanServ"  "Channel Server"
MemoServName    "MemoServ"  "Memo Server"
BotServName     "BotServ"   "Bot Server"
HelpServName    "HelpServ"  "Help Server"
OperServName    "OperServ"  "Operator Server"
GlobalName      "Global"    "Global Noticer"
HostServName    "HostServ"  "vHost Server"
PIDFile     services.pid
MOTDFile    services.motd
NickServDB  nick.db
ChanServDB  chan.db
BotServDB   bot.db
OperServDB  oper.db
NewsDB      news.db
ExceptionDB exception.db
HostServDB  hosts.db
HelpChannel "#help"
NetworkDomain "irc.mypage.ru" //укажите свой URL
NetworkName "MyIRC.ru" //название своей сети
StrictPasswords
BadPassLimit    5
BadPassTimeout  1h
UpdateTimeout   5m
ExpireTimeout   30m
ReadTimeout 5s
WarningTimeout  4h
TimeoutCheck    3s
KeepLogs 7
KeepBackups 3
ForceForbidReason
LogUsers
HideStatsO
GlobalOnCycle
GlobalOnCycleMessage "Services are restarting, they will be back shortly - please be good while we're gone"
GlobalOnCycleUP "Services are now back online - have a nice day"
AnonymousGlobal
ProxyThreads 5
ProxyMessage1 "I will now detect if you're using an insecure proxy."
ProxyMessage2 "If you see a connection on port 23, 1080, 3128 or 8080 from"
ProxyMessage3 "my.box.net, please disregard it, as it is the detector in action."
ProxyMessage4 "See http://proxy.myirc.net/ for information about our proxy policy."
ProxyCheckWingate
ProxyCheckSocks4
ProxyCheckSocks5
ProxyCheckHTTP1
ProxyCheckHTTP2
ProxyCheckHTTP3
ProxyTimeout 15s
ProxyTestServer "1.2.3.4" 6667
ProxyExpire 30d
ProxyCacheExpire 1d
ProxyAkillReason "You're using an insecure proxy. See http://proxy.myirc.net/config.html for information about how to config your proxy in a safe manner."
WallProxy
ProxyMax 50
NSForceEmail
NSDefSecure
NSDefPrivate
NSDefHideEmail
NSDefHideUsermask
NSDefMemoSignon
NSDefMemoReceive
NSDefLanguage 11
NSRegDelay  30s
NSExpire    21d
NSMaxAliases    16
NSAccessMax 32
NSEnforcerUser  enforcer@localhost.net
NSReleaseTimeout 1m
NSListMax   50
NSGuestNickPrefix   "Guest"
NSSecureAdmins
NSStrictPrivileges
NSRestrictGetPass
CSDefKeepTopic
CSDefPeace
CSDefSecure
CSDefSecureFounder
CSDefSignKick
CSDefXOP
CSMaxReg    3
CSExpire    14d
CSDefBantype 2
CSAccessMax 1024
CSAutokickMax   32
CSAutokickReason "User has been banned from the channel"
CSInhabit   15s
CSListMax   50
CSRestrictGetPass
MSMaxMemos  20
MSSendDelay 3s
MSNotifyAll
BSDefGreet
BSDefFantasy
BSDefSymbiosis
BSMinUsers 1
BSBadWordsMax 50
BSKeepData 10m
BSSmartJoin
BSGentleBWReason
ServicesRoot   "vovan" //свой ник
SuperAdmin
LogMaxUsers
AutoKillExpiry  30d
ChanKillExpiry  30d
SGLineExpiry    30d
SQLineExpiry    30d
SZLineExpiry    30d
AkillOnAdd
KillClonesAkillExpire   30m
DisableRaw
WallOper
WallBadOS
WallOSGlobal
WallOSMode
WallOSClearmodes
WallOSKick
WallOSAkill
WallOSSGLine
WallOSSQLine
WallOSSZLine
WallOSNoOp
WallOSJupe
WallOSRaw
WallGetpass
WallSetpass
WallForbid
WallDrop
LimitSessions
DefSessionLimit 3
MaxSessionLimit 100
ExceptionExpiry 1d
SessionLimitExceeded "The session limit for your host %s has been exceeded."
MaxSessionKill 15
SessionAutoKillExpiry 30m
AddAkiller

Сохраняем и запускаем

Код:
/home/admin/anope_bin/services
Смотрим в процессах, если его там нет - смотрим логи в

Код:
/home/admin/data/logs/
Если стартанул без проблем, идем на наш канал и пишем к примеру

Код:
/msg ChanServ help
В ответ сервер выдаст список команд.... Все работает... Про команды думаю говорить не стоит...

Переходим к установке бота
 
Ответить с цитированием