Making SELinux allow a nonstandard MySQL port number on Centos 5.1

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.

Continue reading “Making SELinux allow a nonstandard MySQL port number on Centos 5.1”

CentOS 5.1 Minimal VPS Install Guide

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.

Continue reading “CentOS 5.1 Minimal VPS Install Guide”

MacBook Pro crashes part 3 – apparently a hardware issue

In frustration I made a backup of my laptop hard disk, and did an erase-and-install with Tiger from the install DVDs that came with the laptop. Mind you, the Apple Hardware diagnostic gives this machine a clean bill of health. With the original 512MB DIMM, with nothing plugged in but the power cord, and with a fresh Tiger install, even following an SMC reset, I can crash it. So, this is apparently not Leopard’s fault.
Continue reading “MacBook Pro crashes part 3 – apparently a hardware issue”