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

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

Репутация: 383


По умолчанию

2. СБОРКА Unreal3.2.7

Код:
cd /home/admin/source/Unreal3.2.7
./Config
Цитата:
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _ | | | | | / | | / _ |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|

Configuration Program
for Unreal3.2.7

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]

<enter>

Пролистываем лицензионное соглашение и снова <enter>

Do you want to enable the server anti-spoof protection?
[No] -> <enter>

What directory are all the server configuration files in?
[/home/admin/conf] -> /home/admin/conf <enter>

What is the path to the ircd binary including the name of the binary?
[/home/admin/bin] -> /home/admin/bin <enter>

Would you like to compile as a hub or as a leaf?
Type Hub to select hub and Leaf to select leaf.
[Hub] -> <enter>

What is the hostname of the server running your IRCd?
[irc.mypage.ru] -> irc.mypage.ru <enter> !!!** URL вашего сервера **!!!

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

Do you want to support SSL (Secure Sockets Layer) connections?
[No] -> <enter>

Do you want to enable IPv6 support?
[No] -> <enter>

Do you want to enable ziplinks support?
[Yes] -> <enter>

If you know the path to zlib on your system, enter it here. If not
leave this blank
[] -> <enter>

Do you want to enable remote includes?
[No] -> <enter>

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

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

How far back do you want to keep the nickname history?
[2000] -> <enter>

What is the maximum sendq length you wish to have?
[3000000] -> <enter>

How many buffer pools would you like?
This number will be multiplied by MAXSENDQLENGTH.
[18] -> <enter>


How many file descriptors (or sockets) can the IRCd use?
[1024] -> <enter>

Would you like any more parameters to configure?
Write them here:
[]-> <enter>
По завершению:

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

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

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

Код:
cp /dev/null /home/admin/conf/unrealircd.conf
Код:
nano home/admin/conf/unrealircd.conf

Код HTML:
loadmodule "/home/admin/conf/modules/commands.so"; // проверяем правильность
loadmodule "/home/admin/conf/modules/cloak.so";    // путей к файлам


include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";


me
{
        name "irc.mypage.ru";  //имя сервера
        info "My IRC server";  //информация о сервере
        numeric 101;           
};


admin 
{
        "vovan";            //свой ник
        "vovan@kalyan.ru";  //свое мыло
};      


class   clients
{
        pingfreq 90;
        maxclients 500;
        sendq 100000;
        recvq 8000;
};


class   servers
{
        pingfreq 90;
        maxclients 10;
        sendq 1000000;
        connfreq 100; 
};


allow 
{
        ip             *@*;
        hostname       *@*;
        class           clients;
        maxperip 5;
};

listen *:6667;

oper    vovan  //свой ник
{
        class   clients;
        from 
        {
            userhost vovan@kalyan.ru; // свое мыло
        };
        password "12345"; //свой пароль 
        flags
        {
            global;
        };
};


link services.irc.loc 
{
    username *;
    hostname 127.0.0.1;
    bind-ip 127.0.0.1;
    port 6667;
    password-connect "qwerty"; //изменив этот пароль также нужно будет изменить 
    password-receive "qwerty"; //его в RemoteServer файла /home/admin/data/services.conf
    class servers;      
};


drpass 
{
        restart "12345"; // пароль на рестарт и
        die "12345";     // выключение сервера
};

log "ircd.log" 
{
        maxsize 2097152;
        flags 
        {
                oper;
                kline;
                connects;
                server-connects;
                kills;
                errors;
                sadmin-commands;
                chg-commands;
                oper-override;
                spamfilter;
        };
};


ban nick 
{
        mask "*C*h*a*n*S*e*r*v*";
        reason "Reserved for Services";
};

official-channels 
{
        "#test"; //имя канала
        "#help";
};

set 
{
        network-name            "mypage.ru";             // Просто 
        default-server          "irc.mypage.ru";         // смените
        services-server         "services.mypage.ru";    // mypage.ru
        stats-server            "stats.icr.mypage.ru";   // на ваш урл
        help-channel            "#help";
        hiddenhost-prefix       "xex";
        cloak-keys 
        {
                "aosdrfewtrefgrestgtrgZbSFGSEt46";
                "dgdsfergergergegregergFGSDFGes5y";
                "FDGerrt54tsgrg5yhrthththrtFDGe44";
        };
        hosts 
        {
            local           "locop.icr.mypage.ru";      //Просто
            global          "ircop.icr.mypage.ru";      // 
            coadmin         "coadmin.icr.mypage.ru";    //смените
            admin           "admin.icr.mypage.ru";      //mypage.ru
            servicesadmin   "csops.icr.mypage.ru";      //
            netadmin        "netadmin.icr.mypage.ru";   //на ваш урл
            host-on-oper-up "no";
        };
};

set { allowed-nickchars { windows-1251; }; };

set {
        kline-address "kline@irc.mypage.ru";
        modes-on-connect "+ixw";
        modes-on-oper    "+xwgs";
        options {
                hide-ulines;
                show-connect-info;
                };
        maxchannelsperuser 1;
        anti-spam-quit-message-time 10s;
        oper-only-stats "okfGsMRUEelLCXzdD";
        throttle {
                    connections 3;
                    period 60s;
                };
        anti-flood {
                    nick-flood 3:60;
                   };
        spamfilter {
                    ban-time 1d;
                    ban-reason "Spam/Advertising";
                    virus-help-channel "#help";
                    };

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


Код:
/home/admin/bin/ircd
Коннектимся к нашему серверу и проверяем....
Если все работает - переходим к установке сервисов..
 
Ответить с цитированием