I downloaded the DVD torrent for CentOS 5.4. It’s large. 3.72GB large. It’s the i386 version.
I needed it for testing as it’s closer to RHEL than Debian is. 🙂
So I selected install – generic install – but ONLY install the server portion. I don’t need that crazy GUI. Or do I?
After installation I ran the usual:
yum update
yum -y install httpd php mysql mysql-server php-mysql
/sbin/chkconfig httpd on
/sbin/chkconfig --add mysqld
/sbin/chkconfig mysqld on
Then I started the services:
/sbin/service httpd start
/sbin/service mysqld start
Opened up my browser to the IP of the new server. Page not found. Damn.
OK, let’s see if the server can access itself:
lynx http://127.0.0.1
Command not found
Damn. Install lynx:
yum install lynx
lynx http://127.0.0.1
Default CentOS page! Yay!
Well, by default, CentOS installs SELinux. I don’t care for MAC security as this is a pure test dev machine, so I’ll remove that:
nano /etc/selinux/config
SELINUX = disabled
Save, Reboot.
Page not found. Argh, must be the default firewall crap that is on by default. I shall remove that as well:
/sbin/service iptables save
/sbin/service iptables stop
/sbin/chkconfig iptables off
I rebooted once again by accident as I hit the power button on the wrong virtual machine. Oh well.
Default CentOS Page! Yay!