Any problems installing Craft on CentOS with SELinux enabled? Seriously considering installing Craft on CentOS w/SELinux.  I currently have it running on Ubuntu.  Anyone have any problems with that type of install?

thanks,

Chip
Someone with more CentOS experience will probably want to chime in—like you I'm more familiar with Debian/Ubuntu—but I can't imagine it wouldn't work, assuming you configure SELinux correctly and you're using at least CentOS 6, preferably the latest.

Basically, SELinux is an kernel level gatekeeper, preventing or allowing certain processes from reading/writing to parts of the file system. 

In terms of how that affects Craft, you'll need to make sure it knows that Apache/PHP is allowed to write to /craft/app, craft/config and craft/storage and whatever upload directories you have setup.

Just perusing the SELinux docs and problems people have had with Yii and WordPress, assuming your Craft install is at /var/www/craft/ running something like:

cd /var/www/craft/
chcon -R -v -t public_content_rw_t app/ config/ storage/


... should open up the permissions. There's more to it than that obviously. 

If you run PHP as an FPM pool/CGI, as I do, that's going to affect permissions as well.

This article is based around setting up permissions for WordPress but it's still applicable for Craft.