Routing: Difference between revisions
From Buzznet
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* We will be building the IRCd from source, so of course you will need a few tools, like: <code>git</code>, <code>gcc</code>, etc. | * We will be building the IRCd from source, so of course you will need a few tools, like: <code>git</code>, <code>gcc</code>, etc. | ||
** On Ubuntu, Debian and the like, you can install these with <code>apt install git build-essential python3 libssl-dev</code> | ** On Ubuntu, Debian and the like, you can install these with <code>apt install git wget build-essential python3 libssl-dev</code> | ||
* It is usually a good idea to run UnrealIRCd on it's own user. You can create a <code>ircd</code> user with <code>adduser --disabled-password --shell /bin/bash --gecos "User" ircd</code> | * It is usually a good idea to run UnrealIRCd on it's own user. You can create a <code>ircd</code> user with <code>adduser --disabled-password --shell /bin/bash --gecos "User" ircd</code> | ||
* Switch to the new ircd user with <code>sudo | * Switch to the new ircd user with <code>sudo ircd</code> | ||
=== Step 2: Downloading and building the IRCd === | === Step 2: Downloading and building the IRCd === | ||
We will download [https://www.unrealircd.org/ Unrealircd] | We will download [https://www.unrealircd.org/ Unrealircd] | ||
* Get the IRCD source code with <code>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</code> | * Get the IRCD source code with <code>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</code> |
Revision as of 22:46, 2 April 2025
Step 1: Preparing your system
- We will be building the IRCd from source, so of course you will need a few tools, like:
git
,gcc
, etc.- On Ubuntu, Debian and the like, you can install these with
apt install git wget build-essential python3 libssl-dev
- On Ubuntu, Debian and the like, you can install these with
- It is usually a good idea to run UnrealIRCd on it's own user. You can create a
ircd
user withadduser --disabled-password --shell /bin/bash --gecos "User" ircd
- Switch to the new ircd user with
sudo ircd
Step 2: Downloading and building the IRCd
We will download Unrealircd
- Get the IRCD source code with
wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz
- Configure it for compilation with
./Config
- The script will ask you a few questions. It is recommended to pick the defaults for everything, so you can just hit enter on every question.
- After you finish configuring, you can now compile and install Unrealircdd with
make && make install