tilde.club/docs/ircserver.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

# Setting up the tilde.club IRC server
We chose to go with `charybdis`, mostly because it's in the Debian/Ubuntu package repository (universe), so we can update it without having to go through the `configure`/`make`/`make install` process.
## System setup
The IRC server is an Amazon EC2 instance running Ubuntu. Initial system setup on the IRC server included:
* Setting the hostname (`sudo hostname irc`) (and perhaps also needing to edit the `/etc/hostname` file -- unclear)
2014-10-09 02:01:15 +00:00
* updating the `/etc/hosts` file (add `172.30.0.216 irc.tilde.club irc` and `172.30.0.176 tilde.club tilde`)
* setting the EC2 security group to allow TCP traffic on port 6667 from the `tilde.club` shell server only
2014-10-09 02:01:15 +00:00
### Setup changes on the tilde.club shell server to access the IRC server
2014-10-09 02:01:15 +00:00
The `tilde.club` shell server needed a few tweaks as well:
2014-10-09 02:01:15 +00:00
* updating `/etc/hosts` (add `172.30.0.216 irc.tilde.club irc` so users can reach the IRC server by hostname)
* setting the EC2 security group to allow TCP traffic on port 113 (`identd`) from the IRC server only
## Installing charybdis
First we needed to add the "universe" repository to the `apt` repository list:
```
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
```
Once that was added, `charybdis` could be installed:
```
sudo apt-get install charybdis
```