Our customer ordered a server need to install cPanel & WHM on CentOS5.5, so I had a chance to do it.
Firstly, I installed CentOS5.5 operating system on their machine. During the installation, I just installed base, Development libraries, and Development Tools packages. After installation, I updated the system to the latest.
Secondly, I deactivated the firewall, disabled the SELinux.
Thirdly, I modified /etc/resolv.conf file, and appended two lines.
# echo “nameserver 126.96.36.199” >> /etc/resolv.conf
# echo “nameserver 188.8.131.52” >> /etc/resolv.conf
Finally, I downloaded the script “lastest” from http://httpupdate.cpanel.net/latest and executed it to install. After installation, purchased the license and activated it.
When I downloaded the script and executed it, I occurred the problem “Cannot resolve cpanel.net. Please check /etc/resolv.conf. Installation terminated.”. Then I googled this problem, someone said that “184.108.40.206” or “220.127.116.11” need to be appended to /etc/resolv.conf file. I did as they said, it worked.