Navigation:  Pre-required activities > Environment configuration >

Hostname configuration

Previous  Top  Next

One of the GNU/Linux environment configuration activities consists in verifying the hostname used by the server. Check the server hostname and make sure not to use underline ( _ ). See details below:

 

1.To check and change the hostname, edit the following files, according to its GNU/Linux distribution:

For distributions based on CentOS/RedHat, execute:

# vi /etc/sysconfig/network

# vi /etc/hostname

# vi /etc/hosts

 

For distributions based on Debian, execute:

# vi /etc/hostname

# vi /etc/hosts