change_hostname
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
change_hostname [2017/07/12 14:06] – created walkeradmin | change_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 editor, open the server’s / | ||
+ | \\ | ||
+ | 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)