User Tools

Site Tools


change_hostname

Change Hostname

Jul 2017


To change the hostname in CentOS:

1.Using a text editor, open the server’s /etc/sysconfig/network file.

  HOSTNAME=myserver.domain.com



2.Modify the HOSTNAME= value to match your FQDN hostname.

  HOSTNAME=myserver.domain.com
  
  or
  HOSTNAME=Packager



Save and restart.

change_hostname.txt · Last modified: 2017/07/12 14:21 by walkeradmin