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
Hi can't seem to change the hostname on my centos 6.5 host.
I am following the instructions I found here: http://www.rackspace.com/knowledge_center/article/centos-hostname-change
I set my /etc/hosts like so ...
[root@mig-dev-006 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.32.128 ost-dev-00.domain.com ost-dev-00
192.168.32.129 ost-dev-01.domain.com os