Popular Posts

Tuesday, 30 October 2012

Tutorial how to install Unrealircd on CentOS 6 step-by-step

1.Download latest Unrealircd from http://www.unrealircd.com/downloads/latestversion

2.Next unzip Unreal.3.2.9.tar.gz

3.If you want you can remove Unrealircd3.2.9.tar.gz

4.Now go to Unreal3.2.9

5.Now type ./Config to run configuration    (IMPORTANT: if you get any error like: configure: error: no acceptable C compiler found in $PATH ) type: yum install gcc

6.Now hit enter on your keyboard slowly until your reach 100% of Unreal3.2.9 Release Notes
7.Now on your screen you will see configuration like:
Do you want to enable the server anti-spoof protection?
[Yes] ->
What directory are all the server configuration files in?
[/var/Unreal3.2] ->
What is the path to the ircd binary including the name of the binary?
[/var/Unreal3.2/src/ircd] ->
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] ->
Do you want to support SSL (Secure Sockets Layer) connections?
[No] ->
Do you want to enable IPv6 support?
[No] ->
Do you want to enable ziplinks support?
[No] ->
Do you want to enable remote includes?
This allows stuff like this in your configuration file:
include “http://www.somesite.org/files/opers.conf”;
[No] ->
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] ->
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] ->
How far back do you want to keep the nickname history?
[2000] ->
What is the maximum sendq length you wish to have?
[3000000] ->
How many buffer pools would you like?
This number will be multiplied by MAXSENDQLENGTH.
[18] ->
How many file descriptors (or sockets) can the IRCd use?
[1024] ->
Just hit enter until your’ve reach the end and leave them by default
8.Now type make and Unrealircd will compile ( remember type make in your Unreal3.2.9 folder )

9.Copy example.conf from doc folder

10.Now it’s time to configure the most important part unrealircd.conf ( use your favorite editor to edit unrealircd.conf , i’ve used vi editor)

11.I will tell you to configure the important parts of unrealircd.conf , when you are in unrealircd.conf using vi editor , on your keyboard hit SHIFT+: and type set number in vi editor so you can see lines by numbers
12.Uncomment lines 36 and 37,only remove //

13.At line 70 and 71 rename irc.foonet.com and FooNet Server to irc.testingserver.com and Testing Server or your desired name


14.Go to line 87,88,89 and edit the admin section Bob Smith (replace it with you name , bob , widely@used.name (replace it with you email address)
15.Go to line 198 and edit oper bobsmith to oper yournickname , edit password f00 to your password



16.Go to line 253 and delete the entire section from 253 to 262, at the listen line add your ip , in this example mine is 192.168.88.246:6667

17.Go to line 312 and delete this section



18.Go to line 333 and edit ulines services.roxnet.org and stats.roxnet.org to services.testingserver.com and stats.testingserver.com


19.Go to line 741 and edit network-name , default-server , services-server , help-channel like this:



20.Go to line 758 and 759 and add 2 cloack-keys like this:



21.Go to line 763 and edit local , global , coadmin , admin , servicesadmin , netadmin




22.Go to line 776 edit kline-address and add your email address

23.Exit and save unrealircd.conf
24.Create two files ircd.motd.fr and ircd.rules.fr
25.Now type ./unreal start and you should see a message starting UnrealIRCd

0 comments

Post a Comment