2014-10-09 03:21:33 +00:00
# Setting up the tilde.club IRC server
2014-10-09 00:35:57 +00:00
2014-10-09 02:53:18 +00:00
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.
2014-10-09 00:35:57 +00:00
## System setup
2014-10-09 02:53:18 +00:00
The IRC server is an Amazon EC2 instance running Ubuntu. Initial system setup on the IRC server included:
2014-10-09 00:35:57 +00:00
2014-10-09 02:53:18 +00:00
* 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` )
2014-10-09 02:53:18 +00:00
* 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
2014-10-09 03:21:33 +00:00
### Setup changes on the tilde.club shell server to access the IRC server
2014-10-09 02:01:15 +00:00
2014-10-09 02:53:18 +00:00
The `tilde.club` shell server needed a few tweaks as well:
2014-10-09 02:01:15 +00:00
2014-10-09 02:53:18 +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
2014-10-09 00:35:57 +00:00
2014-10-09 03:21:33 +00:00
## Installing charybdis
2014-10-09 00:35:57 +00:00
2014-10-09 02:53:18 +00:00
First we needed to add the "universe" repository to the `apt` repository list:
2014-10-09 00:35:57 +00:00
```
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
```
2014-10-09 02:53:18 +00:00
Once that was added, `charybdis` could be installed:
2014-10-09 00:35:57 +00:00
```
sudo apt-get install charybdis
```