2014 Server Migration: Difference between revisions

From WPLUG
Jump to navigation Jump to search
(Add PHP from Remi)
m (Change EPEL for CentOS 7 to T)
Line 73: Line 73:
|postgrey
|postgrey
|T 1.34<sup>rf, EPEL</sup>
|T 1.34<sup>rf, EPEL</sup>
|A 1.34<sup>EPEL</sup>
|T 1.34<sup>EPEL</sup>
|B 1.34
|B 1.34
|A 1.34
|A 1.34
Line 85: Line 85:
|wordpress
|wordpress
|T 3.9<sup>EPEL</sup>
|T 3.9<sup>EPEL</sup>
|A 3.9.1<sup>EPEL</sup>
|T 3.9.1<sup>EPEL</sup>
|B 3.6
|B 3.6
|A 3.8
|A 3.8

Revision as of 03:32, 25 June 2014

This page is to collect information about our current configuration and options for switching to a new server going forward. Please feel free to edit to add missing information or correct errors.

Server selection

We are currently hosting with Linode on the $20/month plan. The new $10/month plan will halve our costs and still provide sufficient resources. We currently are located in the Atlanta datacenter. This is good because it is still in the Eastern time zone and is not too far away but should be remote from any disaster that might occur in Pittsburgh. The only downside is they block some ports, which means Monkeybot needs to be configured to use an alternative port to connect to Freenode IRC. The Newark datacenter would be closer and doesn't block ports. However, a large-scale power outage could affect both Pittsburgh and New Jersey.

Other options are possible; for example Digital Ocean has a $5/month plan that has less horsepower but should still be sufficient for our needs. The main benefit is that costs would be halved again.

You can add your suggestions in this section. Note that web hosting is not sufficient; we need a virtual private server (VPS) or dedicated server to accommodate our mailing lists and IRC bot. Since we've been very happy with the service we've gotten from Linode and are comfortable with how it works, please support alternative suggestions with a compelling case for how they'd be an improvement.

OS selection

The WPLUG server currently runs on CentOS 5. This is still supported, but it would make sense to choose a newer distro while we're doing the server switch.

Service enumeration

Services that are currently running on the WPLUG Linode server. These should include things that are user-facing only, not infrastructure.

  • E-mail (Postfix)
  • Mailing lists (Mailman)
  • Wiki (MediaWiki)
  • Blog (Wordpress)
  • Monkeybot IRC bot (infobot) - maybe consider different bot software that can import monkeybot's database?
  • RSS aggregator (Tiny Tiny RSS, tt-rss)

Infrastructure software which supports the services above.

  • Web server (Apache) - it would be possible to use Nginx instead, but I (Vance) am not familiar with setting it up
  • PHP (Apache mod_php) for MediaWiki, Wordpress, and TT-RSS
  • Python for Mailman
  • Perl for Monkeybot
  • MySQL for MediaWiki, Wordpress, and TT-RSS - likely possible to use MariaDB instead, other DBMS not recommended for use with MediaWiki
  • Greylisting daemon (Postgrey)
  • Fail2ban - could maybe use denyhosts instead

Support lifetime

Software availability

This table is to track, for the different distros under consideration, whether the software we need is available within its repositories. We want to minimize the number of applications which have to be maintained manually.

Key:

  • B: in distro's base repository
  • A: in an additional repository provided by the distro
  • T: in a third-party repository
  • ~: not available in any known repository
  • ?: availability unknown
CentOS 6 CentOS 7 Debian 7 Ubuntu 14.04
postfix B 2.6 B 2.10.1 B 2.9 B 2.11
mailman B 2.1 A 2.1.15 latest B 2.1 B 2.1
postgrey T 1.34rf, EPEL T 1.34EPEL B 1.34 A 1.34
mediawiki T 1.19EPEL ? B 1.19 A 1.19
wordpress T 3.9EPEL T 3.9.1EPEL B 3.6 A 3.8
infobot ~ ? ? (not B or A) ~
tt-rss ~ ? ? (not B or A) A 1.11
apache B 2.2 / A 2.4 A 2.4.6latest B 2.2 B 2.4
nginx A 1.4 ? B 1.2 B/A 1.4
php5 B 5.3 / A 5.4, 5.5 A 5.4.16latest, T 5.5.13Remi B 5.4 B 5.5
python2 B 2.6 / A 2.7 B 2.7.5 B 2.7 B 2.7
python3 A 3.3 ? B 3.2 B 3.4
perl5 B 5.10 B 5.16.3 B 5.14 B 5.18
mysql B 5.1 / A 5.5 ? B 5.5 B 5.5 / A 5.6
mariadb A 5.5 A 5.5.35latest ? (not B or A) A 5.5
fail2ban T 0.8.7rf, 0.8.11EPEL ? B 0.8.6 A 0.8.11
denyhosts T 2.6rf, EPEL ? B 2.6 ~

Third-party repositories:

Migration steps

Put some stuff here.

Nice-to-haves

We have an archive of static web pages from the pre-2007 server "penguin" - it would be nice to make this history available somehow.