So you want to link to pissnet: Difference between revisions

From pisswiki
(Created page with "This manual will guide you step-by step on how to compile, configure and link your server to Pissnet. === Step 1: Preparing your system === * We will be building the IRCd fr...")
 
No edit summary
Line 4: Line 4:


* 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</code>
** On Ubuntu, Debian and the like, you can install these with <code>apt install git build-essential python3</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 -iu ircd</code>
* Switch to the new ircd user with <code>sudo -iu ircd</code>

Revision as of 16:26, 19 July 2021

This manual will guide you step-by step on how to compile, configure and link your server to Pissnet.

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 build-essential python3
  • It is usually a good idea to run UnrealIRCd on it's own user. You can create a ircd user with adduser --disabled-password --shell /bin/bash --gecos "User" ircd
  • Switch to the new ircd user with sudo -iu ircd

Step 2: Downloading and building the IRCd

We will download PissIRCd, which is a fork of UnrealIRCd with a few modules and patches that are useful for pissnet.

  • Get the PissIRCd source code with git clone https://github.com/pissnet/pissircd
  • Configure it for compilation with cd pissircd && ./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 PissIRCd with make && make install

Step 3: Configuring your brand new IRCd

// TODO Polsaker went for a snack