Jul 6, 2012 02:01 PM
(This post was last modified: Jul 18, 2013 02:05 AM by FantaŠec.)
First things first, are the requirements:
A CentOS or Ubuntu based VPS or Dedicated Server
Putty, or Terminal on Mac
Once you have that, ssh into your Server and do the following:
1.
CentOS:
and
Ubuntu:
2.
And after that finishes
3.
Once you did that:
And then:
Then type in Ctrl+W
and type in 1024
That searches for 1024, now delete 1024 and make it 50000
and then press Ctrl+X, then type y, then press enter (which saves it)
4. Now go back to Unreal by typing
Which is cd (space)
Then type in:
And then type in
5. Next type in
Go through the documentation,
You can keep pressing enter 12-15 times until you reach "How many File Descriptors (sockets) should the server use
The default is 1024, but enter 50000 instead and press enter
Then press Enter again, now it will start to compile
6. When it is done compiling, type in
Then it will start to make the things needed
7.
While in the directory still, type in:
Or you can do it separately like this:
Either way works
8. Now type in:
And paste this in there
and then press Ctrl+X, then type y, then press enter (which saves it)
Lastly, to start up the IRC do:
A CentOS or Ubuntu based VPS or Dedicated Server
Putty, or Terminal on Mac
Once you have that, ssh into your Server and do the following:
1.
CentOS:
Code
yum install gcc -yCode
yum install make -yUbuntu:
Code
apt-get install gcc2.
Code
wget http://www.unrealircd.com/downloads/Unreal3.2.10.1.tar.gzCode
tar zxvf Unreal3.2.10.1.tar.gz3.
Once you did that:
Code
cd /usr/include/bitsCode
nano typesizes.hand type in 1024
That searches for 1024, now delete 1024 and make it 50000
and then press Ctrl+X, then type y, then press enter (which saves it)
4. Now go back to Unreal by typing
Code
cdThen type in:
Code
cd Unreal3.2.10.1Code
ulimit -n 500005. Next type in
Code
./ConfigYou can keep pressing enter 12-15 times until you reach "How many File Descriptors (sockets) should the server use
The default is 1024, but enter 50000 instead and press enter
Then press Enter again, now it will start to compile
6. When it is done compiling, type in
Code
make7.
While in the directory still, type in:
Code
touch ircd.log;touch ircd.motd;touch ircd.rules;touch rules.conf;touch motd.confCode
touch ircd.log
touch ircd.motd
touch ircd.rules
touch rules.conf
touch motd.conf8. Now type in:
Code
nano unrealircd.confCode
##
# __ _ __ _
# | / \ |\ | | / \
# |____ / \ | \ | | / \
# | /__\ | \ | | /__\
# | / \ | \ | | / \
# | / \ | \| | / \
#
# ##
# ##
# # ME Block #
# ##
me {
name "irc.demon.com";
info "Private";
numeric 1;
};
# ##
# # Admin Block #
# ##
admin {
"Fanta.gov & Co.";
"Fanta - [email protected]";
};
# ##
# # Class Block #
# ##
class clients {
pingfreq 90;
maxclients 10000;
sendq 100; # This should be 100,000, if it is not, please change it WITHOUT A COMMA.
recvq 4000;
};
# ##
# # Allow Block #
# ##
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
# ##
# # Listen Block #
# ##
listen *:6667;
listen *:6668;
# ##
# # Operator Block #
# ##
oper Fanta {
class clients;
from {
userhost *@*;
};
password "fanta123";
flags
{
global;
services-admin;
can_rehash;
can_die;
can_restart;
helpop;
can_wallops;
can_globops;
can_localroute;
can_globalroute;
can_localkill;
can_globalkill;
can_kline;
can_gzline;
can_gkline;
can_unkline;
can_localnotice;
can_globalnotice;
netadmin;
can_zline;
get_umodew;
get_host;
can_override;
};
snomask *;
maxlogins "5";
};
# ##
# # Settings #
# ##
drpass {
restart "lol";
die "fanta";
};
set {
network-name "IRC Server";
default-server "irc.fanta.fbi";
services-server "services.priv8.com";
help-channel "#lobby";
hiddenhost-prefix "0wn3d";
cloak-keys {
// Don't use the same keys
"aIRgFoAr1HnF5h5sDb7x4YwA6pW";
"P9FdZnR1gl5sJ7hVz4Zb7x4YwpW";
"OI8r1ZnR6gl3sJ7hVz4Zb7x4YnX";
};
hosts {
local "fanta.fbi";
global "fanta.fbi";
coadmin "fanta.fbi";
admin "fanta.fbi";
netadmin "fanta.fbi";
servicesadmin "fanta.fbi";
host-on-oper-up "yes";
};
};
set {
allowed-nickchars {
latin1;
};
kline-address "[email protected]";
modes-on-connect "+xwGi";
modes-on-oper "+xwgspH";
restrict-usermodes "G";
restrict-channelmodes "G";
modes-on-join "+nust";
oper-auto-join "#Fanta";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2;
};
options {
hide-ulines;
show-connect-info;
show-opermotd;
allow-part-if-shunned;
flat-map;
fail-oper-warn;
};
maxchannelsperuser 30;
anti-spam-quit-message-time 100s;
static-quit "Client hat die Verbindung getrennt";
oper-only-stats "*";
throttle {
connections 3;
period 60s;
};
anti-flood {
nick-flood 50:60;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#help";
};
default-bantime "0";
};
# ## Modules ##
include "help.conf"; include "badwords.channel.conf"; include "badwords.message.conf"; include "badwords.quit.conf"; include "spamfilter.conf"; loadmodule
"src/modules/commands.so"; loadmodule "src/modules/cloak.so";
# ##
# # Log Block #
# ##
log ircd.log {
maxsize 5MB;
flags {
errors;
kills;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
kline;
tkl;
};
};
# ##
# # Ban Block (NOT NEEDED) #
# ##
ban nick {
mask "host";
reason "banned";
};
ulines {
services.priv8.com;
stats.priv8.com;
};
tld {
mask *@*;
motd "motd.conf";
rules "rules.conf";
};
# ##
## / Hackforums.net \ ##
# ##
# | | __
# | | |
# |____| |____
# | | |
# | | |
# | | |
#
#
##Lastly, to start up the IRC do:
Code
ulimit -n 50000;./unreal start


