#yum install httpd php mysql
... and YUM will take care all of package dependency for you. Godbye 'depedency hell' :)
After you install the trio, Apache, PHP, MySQL, you need to configure CentOS to open its firewall for HTTP and HTTPS can be accessed via command #system-config-securitylevel. |
#chkconfig httpd on
Starting Apache manually:
#/etc/init.d/httpd start
Example of my Centos on Virtualbox, I access it by my Windows XP host. |
Please check my previous post on how to connect Linux on Virtualbox connet to Internet.