이 콘텐츠는 선택한 언어로 제공되지 않습니다.
4.5. Updating the Host Name
If required, change the host name of the target system before you deploy.
Procedure 4.2. Updating the Host Name
- Update the host name in the
/etc/sysconfig/network
file:NETWORKING=yes HOSTNAME=New_Hostname
NETWORKING=yes HOSTNAME=New_Hostname
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Also update the host name using the
hostname
command:hostname New_Hostname
# hostname New_Hostnamehostname New_Hostname
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The above instructions set the host name locally, but not in DNS. For node hosts, this is used as the server identity. Generally it is best to use a name that matches how the host will resolve in DNS.