Sphinx Search init script for Centos 5.1

14 04 2008

Sphinx search is pretty new, and as a result I was unable to find a nice convenient package for it for CentOS 5.1. This is problematic since there is no init script included with the source tarball, and the issue of updating the index is the sysadmin and developer’s problem, and cannot be configured to simply update the index when the data changes.
Read the rest of this entry »



Making SELinux allow a nonstandard MySQL port number on Centos 5.1

29 03 2008

SELinux is a recently added security system that’s installed by default with CentOS 5.1 (and Red Hat Enterprise Linux 5, and others). Since it’s newer than the classic “Discretionary Access Control” Unix security model, it’s not nearly as well documented, and unfamiliar to many. I had never even heard of it until this week.

After a lot of reading about it, and debating disabling it entirely, I figured out how to do some minor SELinux customization to fit my needs for a MySQL database server. Hopefully this will help folks who are in a similar situation.

Read the rest of this entry »



CentOS 5.1 Minimal VPS Install Guide

29 03 2008

I’m working on a project that is deploying on CentOS 5.1, and I found it not entirely obvious how to install a really stripped down server, as a starting point for a lean and mean, hardened production server. Since I’m doing work on this at home on VMWare, and it’s being deployed on a VPS initially (and probably will remain virtualized for ease of management as it scales up), this guide is specifically aimed at this kind of configuration.

Read the rest of this entry »



Athlon64 3500+ to Opteron 175 upgrade notes

1 03 2008

In short, gain with minimal pain, a couple of small hitches. I went single-core to dual-core with a drop-in replacement CPU and it was almost as easy as replacing the batteries in a flashlight.

Read the rest of this entry »



Upgrading to Ubuntu 7.10 “Gutsy Gibbon” on Xen

12 02 2008

I have a VPS hosted at RimuHosting.com. I waited a while (3 months) for bugs to be squashed before upgrading it to Ubuntu Linux 7.10 (“Gutsy Gibbon”). There was one new issue.

BTW, my non-Rimu home server was the first thing I updated. Notes are here.

The only Xen wrinkle is that you need the libc6-xen package. I don’t know if that’s in Feisty or not. In my case I experienced a slew of scary Segmentation Fault errors in the package configuration stage. I found :this post which contains a solution for the problem. But if possible you might want to try installing that package before upgrading. If that doesn’t work, just use the method described in that post.

After doing that and running dpkg --configure -a, it was okay. It did complain about AppArmor and being unable to do something with modules, but that seems to be not germane to Xen so I ignored it and rebooted, and everything seems fine.