the beginning, change done....system-confg-firewall-DISABLEDvi /etc/sysconfig/network - NETWORKING_IPV6=no - HOSTNAME=PROXYvi /etc/selinux/config
On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command.
I want to change it to 'localhost.localdomain' because I think it is more generic and reliable.
localhost.localdomain already exists in these files: /etc/sysconfig/network AND /etc/hosts
I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working
HWADDR=*hardware address here*
when i use ifconfig I see that ip address is 10.0.