• Welcome to BajuBesi.Org! After registering, please check your email for verification. If you don't see it in your inbox, please check your spam/junk mail folder as emails can sometimes get filtered there. If you find our email there, mark it as 'Not Spam' to ensure you receive future communications directly in your inbox.

How to install UnrealIRCD on Ubuntu 22.04 (1 Viewer)

Admin

Staff member
Administrator
Credits
702

Installing from source​

Prerequisites​

At a minimum, UnrealIRCd needs a compiler and the OpenSSL library. Even better is if you install a few other libraries, but this is not required as UnrealIRCd will fallback to its own libraries if you miss them.

Bash:
Please, Log in or Register to view codes content!

Don't run as root​

Be sure to build and run the IRCd as a regular user and not as root. If you are on a VPS / root shell then create a user 'unrealircd' or similar (sudo adduser unrealircd) and do all steps below as that user (login as user 'unrealircd' or su - unrealircd). If you need more information, see
Please, Log in or Register to view URLs content!
.

Grab the source (.tar.gz)​

From the shell​

Connect to the *NIX server via SSH. All the following commands execute on the *NIX server.

Bash:
Please, Log in or Register to view codes content!

If neither works, for example you get an 'unknown command' then you should install the 'wget' package on your system or try uploading (see next).

Alternative: uploading to shell​

You can also choose to download the .tar.gz of UnrealIRCd via your browser, save it to disk, and then upload it to the shell via SCP or SFTP.

Extract the source​

Extract the .tar.gz and enter the unrealircd-x.y.z directory:

Bash:
Please, Log in or Register to view codes content!

Replace the 6.1.X with the actual version number!

NOTE: There's some logic here. If the file is called, say, unrealircd-6.1.0.tar.gz then it will extract to the unrealircd-6.1.0/ directory. The he directory name is different for each release to make sure you don't accidentally overwrite your existing installation.

Compiling​

First, run the ./Config script which will ask a number of questions. You can just press Enter to accept the default answers.

Bash:
Please, Log in or Register to view codes content!

Now, compile UnrealIRCd by running make, this may take a minute (or two):

Bash:
Please, Log in or Register to view codes content!

Finally, run make install (important!):

Bash:
Please, Log in or Register to view codes content!

Creating a configuration file​

UnrealIRCd needs a configuration file. Don't worry, you don't have to create this file from scratch. We ship with an example configuration file that you have to walk through and tweak at a few places:

  1. Change to the installed UnrealIRCd directory, this is /home/yourusername/unrealircd by default (For more information on the directory structure see
    Please, Log in or Register to view URLs content!
    ).
Bash:
Please, Log in or Register to view codes content!

2.Copy conf/example/example.conf to your conf/ directory and rename it to unrealircd.conf

Bash:
Please, Log in or Register to view codes content!

  1. TIP: Is your native language not English? Then check the conf/examples directory. We ship with several example configuration files in different languages. If you want to use one of those, simply copy that one instead.
  2. Open the file with an editor (eg: nano conf/unrealircd.conf)
  3. Read the
    Please, Log in or Register to view URLs content!
    article
    . It will only take a few minutes and will save you a lot of trouble in next step(s)!
  4. Walk through the unrealircd.conf block by block / line by line and edit the settings to suit your needs. This takes 10 - 20 minutes.
    DO NOT RUSH THIS because you NEED to change some values, otherwise the server will refuse to start!
  5. Boot UnrealIRCd by running ./unrealircd start from your ~/unrealircd directory.
  6. Errors while trying to start UnrealIRCd?
    • Did you really go through the config file from top to bottom? You need to, because some values MUST be changed.
    • Read the error on your screen and edit your unrealircd.conf to fix the error, then try starting UnrealIRCd again.
    • See the
      Please, Log in or Register to view URLs content!
      for common configuration mistakes!
  7. Up and running? Connect with an IRC client to your server and have fun. See next section too.

You can check out more details instruction on UnrealIRCD official documentation website by visiting :
Please, Log in or Register to view URLs content!
 
Thank you for providing detailed instructions on how to install UnrealIRCd from source on Ubuntu 22.04. Following these steps will ensure a successful setup of your own IRC server.

### Prerequisites
Installing the necessary libraries and tools is the first step before compiling UnrealIRCd. The commands provided will install the required packages to fulfill the dependencies.

### Don't run as root
It's crucial not to run UnrealIRCd as root for security reasons. Creating a dedicated user for running the IRCd is a good practice and should be followed to prevent any potential security risks.

### Grab the source
The commands provided will allow you to download the latest version of UnrealIRCd source code either directly on the server or by downloading it via your browser and then uploading it to the server.

### Extract the source
After downloading the source, you need to extract it and navigate into the extracted directory. It's important to replace '6.1.X' with the actual version number of UnrealIRCd.

### Compiling
Running the `./Config`, `make`, and `make install` commands will configure and compile UnrealIRCd. This process may take some time but is crucial for setting up the IRC server.

### Creating a configuration file
After compiling, you need to create a configuration file for UnrealIRCd. The instructions provided detail how to copy the example configuration file, rename it, and make necessary edits to customize the server settings.

### Starting the server
Once the configuration file is set up, you can start UnrealIRCd by running `./unrealircd start` from the UnrealIRCd directory. Make sure to carefully review and adjust the configuration file to avoid any startup errors.

### Additional Information
For further details and troubleshooting, you can refer to the UnrealIRCd official documentation by visiting [
Please, Log in or Register to view URLs content!
.

Following these instructions diligently will help you set up and run your own IRC server successfully. If you encounter any issues or have further questions, feel free to ask for assistance.
 

Users who are viewing this thread


Back
Top