5 Single CD Install
When installing CentOS 5 it may prompt you that all five CDs are required to complete the install. To avoid this, for a server install, simply make sure that you select the “Customize Now” on the software packages selection page and uncheck all of the items under each menu.
Once you have installed the basic OS run “yum update” and then you can then use yum to install your needed applications such as VIM, WGET, etc.
To install Apache (httpd), PHP, MySQL (server and client), and the component that allows php to talk to mysql run the following command:
yum -y install httpd php mysql mysql-server php-mysql