Tag Archives: hostname

Change a server’s hostname in CentOS

By default, your server is started with the server’s given name as the hostname. Some software, such as cPanel, requires a valid Fully Qualified Domain Name (FQDN) for the hostname to be used during their licensing verification system. This article... Read More | Share it now!

Set up CentOS for Hortonworks and Cloudera

https://docs.hortonworks.com/HDPDocuments/Ambari-   #Network vi /etc/sysconfig/network-scripts/ifcfg-eth0 -> ONBOOT=yes /etc/sysconfig/network-scripts/ifup... Read More | Share it now!


The hostname command returns results from DNS and /etc/hosts. hostname is equivilant to uname -n and is the actual “hostname” or “nodename” of the box. All the other hostname arguments use this nodename to look up info. So... Read More | Share it now!


Linux操作系统的hostname是一个kernel变量,可以通过hostname命令来查看本机的hostname。也可以直接cat /proc/sys/kernel/hostname查看。 #hostname #cat... Read More | Share it now!