User Tools

Site Tools


change_hostname

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
change_hostname [2017/07/12 14:06] – created walkeradminchange_hostname [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 3: Line 3:
 \\  \\ 
 \\  \\ 
-To change the hostname in CentOS 
  
-For network redundancy+---- 
 + 
 +To change the hostname in CentOS: 
 +\\  
 +\\  
 +1.Using a text editoropen 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.1499864771.txt.gz · Last modified: 2023/03/09 22:35 (external edit)