tilde.club/docs/shellserver.md

25 lines
1.2 KiB
Markdown
Raw Normal View History

# Setting up the tilde.club shell server (user host)
2014-10-09 02:41:17 +00:00
2014-10-09 03:05:18 +00:00
We want to document the ins and outs of setting up the server so others who are interested can learn (and help!).
2014-10-09 02:41:17 +00:00
## System setup
For now, this is all [documented in a separate server-setup document](https://github.com/tildeclub/tilde.club/blob/master/docs/server.org); ultimately, I presume we'll consolidate it all here.
2014-10-09 02:41:17 +00:00
## Email
2014-10-09 03:05:18 +00:00
The default MTA on CentOS is `postfix`. Our goal was to have a `localhost`-only mail service, which required that we configure `postfix` to listen only to `localhost`, and to bounce any email which local users try to send off-server. Both configuration changes are handled in `/etc/postfix/main.cf`.
2014-10-09 02:41:17 +00:00
2014-10-09 03:05:18 +00:00
* the `inet_interfaces` value should just be `localhost` (`inet_interfaces = localhost`)
2014-10-09 02:41:17 +00:00
* the `default_transport` parameter should be the bounce message we want (so add `default_transport = error: outside mail is not deliverable` to the bottom of the file)
## identd
2014-10-09 02:41:17 +00:00
2014-10-09 03:05:18 +00:00
Users will connect from their shell account to an IRC server, so it is *very* handy to have an `identd` server. For us that just meant installing the standard CentOS `identd` server and configuring it to start automatically:
2014-10-09 02:41:17 +00:00
```
sudo yum install oidentd
2014-10-09 02:41:17 +00:00
sudo /etc/init.d/oidentd start
sudo chkconfig oidentd on
```