Beryllium: Difference between revisions
Line 150: | Line 150: | ||
|- | |- | ||
| WikIRC | | WikIRC | ||
| | | wiki log bot | ||
| ~/wikirc | | ~/wikirc | ||
| internal only | | internal only |
Revision as of 14:20, 7 April 2015
If you're a staff member and unsure how to access this machine, please check our access instructions.
To see if you're able to access this machine please check group permissions.
Description
This server is a Linode 2G server running Centos 6.5 which functions as the primary misc services machine and as the primary IRC server. The IRC server address is: irc.soylentnews.org and it's available at port 6667 for non-ssl users and 6697 for SSL users. It houses all of the other IRC related services as well as the url shortener at http://sylnt.us.
Services running on this host
- Charybdis, IRC server, http://irc.soylentnews.org - port 6667, 6697(SSL)
- Atheme, IRC services
- Iris, IRC web chat, http://chat.soylentnews.org - port 3989, forwarded from 80 by apache
- Various bots, See IRC Services
- ZNC, IRC bouncer for staff, http://irc.soylentnews.org - port 60000
- Yourls, URL shorener service on http://sylnt.us - port 80
- MySQL, used for Yourls.
- MySQL
- Postfix
- Mailman
- Dovecot
- Apache2/httpd
- OpenSSH
- ntpd
Please add any services that aren't listed here yet.
Basic Information
This node's ip address: 72.14.184.41
Services set to run at startup (can be restarted via /etc/init.d/<script>):
- postfix - SMTP server, handles incoming and outgoing mail.
- dovecot - IMAP server and mail delivery agent.
- mailmain - listserv, this is just the qrunner service which picks up stuff in the queue to mail out.
- saslauthd - Mail authentication.
- mysqld - mysql databases
- httpd - apache webserver running multiple virtualhosts
Currently, mechanicjay, robind, ncommander, xlefay, and funpika have ssh access to this box.
Apache Config
All vhost configs are in /etc/httpd/conf.d/<servicename>.soylentnews.org.conf All vhost wwwroots are in /var/www/vhosts/<servicename> (except IRC and Dev ones) --mailman (lists.soylentnews.org) is the exception since that was installed as a system package via yum
Current virtual hosts:
- lists
- postfixadmin
- wiki
- forums
- webmail (squirrelmail install)
- rt (not currently active)
- 000_default (nothing to see here page if no or unrecognized host header is passed)
- chat (redirect to atheme iris server on port 3989)
- irc-stats (/home/sylnt/public_html/stats)
- irc-logs (/home/sylnt/public_html/logs)
- sylnt.us (/srv/sylnt.us YOURLS shortener service)
- vm (/srv/vm.soylentnews.org throttled vhost for Dev VM image)
Mysql
Just a basic mysql install.
Current databases:
- postfix -- handles mail accounts -- all mail services auth against this db
- wiki
- forums
- rt
- yourls
Mail Config
This is a nightmare, and will have to spend some time figuring out how to document it in a sane way.
IRC Services
IRC services are now server up on beryllium. The core IRC services as well as several bots live on this server. They are run from the sylnt user account out of /home/sylnt/.
Start and stop scripts are in the ~/bin directory. start.all and stop.all will start and stop each of the services below with the appropriate script in a proper order. start.all is also set in sylnt's crontab to start at reboot. Individual services can be stopped or started with the appropriate script stop.service or start.service where .service is replaced with the suffix listed in the table below.
The services each have a cron.service script, also in ~/bin, that monitors that the service is running and restarts it if it does not find it. This is done by monitoring the pid, set at startup, and seeing if the job is still running. cron.all is run at 10 minute intervals from sylnt's crontab as well.
IRC Services | |||||
---|---|---|---|---|---|
Service |
Description |
Path |
DNS |
Ports |
start/stop/cron suffex |
Charybids 3.4.2 | ircd services | ~/charybdis | irc.soylentnews.org | 6667, 6697(ssl) | .charybdis |
Atheme Services 7.0.7 | a modular IRC Services package | ~/atheme-services | internal only | .atheme | |
Atheme Iris | web frontend for IRC | ~/atheme-iris | chat.soylentnews.org | 3989 (forwarded from 80) | .iris |
Bender | jsonbot bot | ~/.jsb | internal only | .bender | |
Loggie | logging bot | ~/logbot | logs.sylnt.us | 80 | .loggie |
NerdRPG | local Idle RPG | ~/nerdrpg | internal only | .nerdrpg | |
Regurgitator | local RSS aggregator based on Eggdrop | ~/irc-bots/Regurgitator | internal only | .regurgitator | |
WikIRC | wiki log bot | ~/wikirc | internal only | .wikirc |
All of /home/sylnt/ started out as a copy from the original server xlefay setup on his systems. No new files were added to this, only certain services need to be recompiled. Source files for most of the services are found in ~/source, and copies of the original services that ran on original server are in ~/OLD. Test compiles of some of the services were moved to ~/test before bring up the current versions.
Charybdis was compiled with ./configure --prefix=/home/sylnt/charybdis/ --enable-epoll --enable-openssl --enable-ipv6 --disable-assert. Atheme was compiled with $ ./configure --prefix=/home/sylnt/atheme-services. Iris was configure by running ./compile from the ~/atheme-iris directory. The bots did not require a recompile from what was transferred from original server.
Config files were adjusted to set the proper ip addresses for the new server (both IPv4 and IPv6) and to adjust the staff who had admin access.
System Packages
Stuff that was installed from yum will go here