Ready to setup your own IRC server on Ubuntu? IRC is better known as Internet Relay Chat and it is an old school method of creating and hosting your own chat room.
Using the InspIRCd app on a low end VPS, you can begin hosting your own IRC chat rooms to instantly communicate with your family and friends. To get started, go ahead and spin up an Ubuntu 16.04 VPS and login using SSH.
Once you follow these steps, you’ll be able to configure and deploy your own IRC server.
Update your Repositories
> sudo apt-get update
> sudo apt-get install inspircd
If you are asked to answer Y or N, always select Y unless otherwise noted in this tutorial. If all went well, you’ll be returned back to the command line without any errors. Here is an example:
Finalize the Configuration
The easiest way to configure InspIRCd is by using the Nano text editor. Here is how you should proceed:
> sudo nano /etc/inspircd/inspircd.conf
There are a few entries you’ll need to change on this configuration page. Examine the following values:
Where it says server name=, this doesn’t have to be a registered domain name, it can be whatever you want. For description and network, these can be unique value that are defined by your personal preferences. For ID, use any value that has 2 digits and 1 letter.
description=”Local IRC Server”
In the admin details, use values that meet your personal preferences. Here’s our changes:
Bind to Any IP Address
Scroll down some more and you’ll find these settings that need to be changed. For the bind address, let’s just leave this blank for now.
<bind address=”” port=”6667″ type=”clients”>
Setup Operator Passwords
Now we have to setup operator passwords to shutdown or restart the IRC service. We’ll use lowendtest and lowendtest2 as a placeholder password but you can use whatever you like.
You can setup multiple accounts if you’d like; just copy and paste the following code into nano for each unique operator account that you’d like to create.
The default value is oper name=”root” – Let’s change that.
We’ll also add the public IP address of your VPS in the host settings. Replace XXX.XXX.XXX.XXX with your server’s IP. Also replace server_hostname_goes_here with your VPS’s hostname. This is usually assigned by your VPS provider.
In our example, the actual hostname for the VPS is called “lowendtest1”