Tag Archives: unrealircd

Install UnrealIRCd on Ubuntu 12.04

In this tutorial, I will show you how to setup UnrealIRCd on Ubuntu 12.04.

1.Update OS and install required packages:

2.Maximize limits
The default max amount of connections for a user is 1024.
Open the file for edit by:

Go to line 63:

change the value 1024 to 64000

3.Add new user
We are not going to install the IRCd from root, so we are adding new user (ircd), and lifting its limit:

Scroll down to the end of file (use the [Page Down] button on your keyboard). Add the following 2 lines at the end of file:

4.Now add the new user for ircd

it will require you to enter new password for user ircd:

it also will ask about new user info. mine is like this:

5.Login to the new user ircd

To make sure you’re actually logged in as ‘ircd’ type:

6.Begin IRCd Setup
Download & install UnrealIRCd

Then, run this command to start install:

you will see something like this:

press [ENTER]. Then you can hit [SPACE] until you see this:

which you has reached end of file. Press [ENTER].

Then, you should see something like this:

Here is where you can adjust the installer options. Press [ENTER] as we will using default configuration except the second last option:

As you can see, in the second last option, “How many file descriptors (or sockets) can the IRCd use?“, here I type in: 64000 as my new option. After that, hit [Enter].
After the last option, the script will start compiling all the necessary things together.

*You can also change the option to suite with your needs.

If everything is OK, you should see something like this:

which indicate you can proceed to the next step.

Now, type “make” to start install.

Now the script will start compiling and install. it may takes sometime to solve.

If all went good with out any errors, then you should see this:

7.Create the following 3 empty files:

8.And finally, the configuration file, unrealircd.conf

Here is an example of working configuration file with notes, so you can easily modify it.
Copy all line below:

9.Now you should be good to go, start the server:

If you get any errors, check the line of the error on the unrealircd.conf

You can verify if you irc has started of not by using netstat:

Anything regarding unrealircd confi file, you can refer it here: