[Admin-discuss] Apache on murphy (ugh, deja vu)
Hi all, We've (yet again) gotten apache up, running and ready to go on murphy. After some issues with suPHP and threading, and a night grinding my teeth at pubcookie, everything seems to be working. I've imported all of Deathray's settings, bar IPs (which can't be switched over until the last minute). Everything under ~testwww works (the scripts that fail fail for the reasons that they're meant to fail). I've documented everything on the documentation wiki (which will be opened up to non rootholders one of these days, once we get round to sanitising it). Some quirks: - It runs Solaris now. No more apt-get upgrade to keep it up to date :( That means Apache and PHP (in particular) have to be kept up to date the hard way. suPHP, Pubcookie and a few other things do too, but they have more glacial release cycles. - For some reason, shell commands aren't executing from CGI scripts (PHP and perl at least). While I've absolutely no problems with this (less potential security issues), I would really like to know why it's happening. - Apache uses the prefork mpm now. SuPHP didn't like the worker MPM at all at all. Not that it seems to make much of a difference on a T2000 according to some benchmarks*. - Pubcookie's internal SSL certs/granting certs are no longer signed by nowai.org :) - Apache is running in the webhost zone. Everything (PHP, pubcookie, apache, etc) is installed to /usr/local/programname/... and /usr is mounted read-only. This means that any updates must be installed from the global zone. Apache's configuration is under /etc/apache2 (using a debian-style config layout, because it's just nicer), but nothing else may be even reconfigured from the webhost zone. If anyone wants to test it, add the following to your hosts file: 136.206.15.60 www.redbrick.dcu.ie ..and go nuts. Some CGI scripts may not work yet, there's a load of perl modules missing and I'm not sure what the story with python is yet. I'm hoping that we'll be able to do the web server switchover in the next 2 to 3 weeks, after we've installed a reasonable number of perl modules and python modules. That's all really, questions/comments/etc welcome, -Andrew
On Fri, Sep 05, 2008 at 07:54:47PM +0100, Andrew Martin wrote:
Hi all,
We've (yet again) gotten apache up, running and ready to go on murphy. After some issues with suPHP and threading, and a night grinding my teeth at pubcookie, everything seems to be working.
As I said in irc, you've earned a cake for this one ;) I'd like to do some stress testing on this before we go live, the first time we moved from deathray it took time to get the settings right. Is there a problem with python, or have you just not had time to look much into it? Either way I'd guess it's used a lot less than php/perl, so it's somewhat less of a priority. I can take a look if you want. a. -- Andrew Harford System Administrator, DCU Networking Society Ordinary Member, Societies & Publications Committee Pictures are better than words because some words are big and hard to understand. --Peter Griffin
participants (2)
-
Andrew Harford -
Andrew Martin