$config->useEnscript(); $extEnscript['.php'] = 'php'; $extEnscript['.ctp'] = 'php';
I had a look at my drupal status page after migrating to my CentOS VPS. Quite a few errors. Here are some of the fixes:
yum install php-gd (then restart httpd with service httpd restart)
yum install ImageMagick
chmod 755 sites/default/files (not you might have to change owner of folder etc)
I also installed the excellent workspace module: http://drupal.org/project/workspace
'chkconfig --list' shows services and at what level they run
'chkconfig --levels 345 sendmail on' to have sendmail start at boot for example.
'iptables -L' prints current iptables ruleset add '-n' or '-n -v' for more details
'service sendmail restart' restarts sendmail for example
'service --status-all' is useful
First run setup as root.
Here you can enable selinux and configure the firewall. You can enable the usual ports (www/https/ssh/ftp etc) and also add custom ports.
If you want to secure it more see the section 'Beefing up IPTables' at http://wiki.centos.org/HowTos/OS_Protection#head-18126e4c32a7a29b8e2515b...
I deleted the lines allowing port 631 (ipp/cups) from my /etc/sysconfig/iptables.
Install/use aide - see http://www.bofh-hunter.com/2008/04/10/centos-5-and-aide/
yum install php-mbstring[c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/5/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing