Počnimo!
Unreal3.2 smestiti u opcioni folder /opt
Code: Select all
su
cd /opt
wget http://www.unrealircd.com/downloads/Unreal3.2.9.tar.gz
tar zxvf Unreal3.2.9.tar.gz
cd Unreal3.2
./Config
Code: Select all
make
Potreban je još jedan fajl za pokretanje servera...u pitanju je unrealircd.conf
Kreirati ga:
Code: Select all
nano /opt/Unreal3.2/unrealircd.conf
Code: Select all
/* /opt/Unreal3.2/unrealircd.conf */
me {
name "irc.tech.net";
info "irc server";
numeric 1;
};
admin {
"admin";
"high";
"admin@tech.net";
};
class clients {
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers {
pingfreq 90;
maxclients 10; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
allow {
ip *;
hostname *;
class clients;
maxperip 5;
};
allow {
ip *@*;
hostname *@*.passworded.ugly.people;
class clients;
/* password "lozinka"; */
maxperip 2;
};
listen *:6667;
oper admin {
from {
userhost *;
};
class clients;
flags {
global;
admin;
services-admin;
netadmin;
can_die;
can_localkill;
can_globalkill;
};
password admin-lozinka;
};
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
set {
kline-address "my@emailadresa.com";
auto-join "#kanal";
maxchannelsperuser 15;
services-server services.tech.net;
default-server irc.tech.net;
network-name ime-irc-mreze;
/*
[error] set::maxchannelsperuser is missing
[error] set::services-server is missing
[error] set::default-server is missing
[error] set::network-name is missing
[error] set::hosts::admin is missing
[error] set::hosts::servicesadmin is missing
[error] set::hosts::netadmin is missing
[error] set::hosts::coadmin is missing
[error] set::help-channel is missing
[error] set::hiddenhost-prefix is missing
[error] set::cloak-keys missing!
*/
options {
hide-ulines;
};
hosts {
local "LocalOp.tech.net";
global "globalop.tech.net";
admin "network-admin";
servicesadmin "services-admin";
netadmin "network-admin";
coadmin "co-admin";
};
help-channel "#help";
hiddenhost-prefix "TANT";
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"aoAr1HnR6gl3tJ7hVz4Zb7x4YwpW";
"aoAr1HnR6gl4sJ7hVz4Zb7x4YwpW";
};
};
Code: Select all
chown -R korisnik:korisnik /opt/Unreal3.2
Code: Select all
exit
Code: Select all
cd /opt/Unreal3.2
./unreal start
Code: Select all
./unreal stop
Operatorske (server) privilegije ćete u ovom slučaju (pogledajmo oper blok u konfiguracionoj datoteci) dobiti komandom:
Code: Select all
/oper admin admin-lozinka
Code: Select all
/die