Skip to content

Installing UnrealIRCD on Ubuntu 22.04

  • by

This guide references the official UnrealIRCD documentation. See Installing from source.

Run the following commands:

As root:

sudo apt-get install build-essential pkg-config gdb libssl-dev libpcre2-dev libargon2-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev
adduser unrealircd

As unrealircd (or whatever user you created):

wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz
tar zxvf unrealircd-latest.tar.gz
cd <path>
./Config

Follow the instructions. This script will create self-signed certificates so if you are upgrading back up your existing certs! UnrealIRCd can use letsencrypt certificates, so you can map fullchain.pem to curl-ca-bundle.crt, privkey.pem to server.key.pem, and cert.pem to server.cert.pem. Because of permissions issues involving the certs with letsencrypt, I recommend copying these files to your tls directory and chmod and chown them as appropriate.

make && make install
cd ~/unrealircd
cp conf/examples/example.conf conf/unrealircd.conf

Go through the configuration file and update EVERYTHING as appropriate. Then, start Unreal.

./unrealircd start

If there are any issues with your configuration file, you will get messages when you start Unreal. Fix and try starting again.

Leave a Reply

Your email address will not be published. Required fields are marked *