hostname

  • CentOS

    How to change hostname on centos

    To change hostname in centos, here is how to do Temporary hostname change (this will be reseted after reboot) hostname newhostname Permanent hostname change nano /etc/sysconfig/network This is from one of my vps NETWORKING=”yes” GATEWAYDEV=”venet0″ NETWORKING_IPV6=”yes” IPV6INT=”no” IPV6_DEFAULTDEV=”venet0″ HOSTNAME=”namhuy.org” Change hosts file Change the host that is related to your main IPaddress for your server, this is for internal networking nano…

Back to top button