Difference between revisions of "Change Host Name"

From Amahi Wiki
Jump to: navigation, search
(Created page with "The guidance below will allow the host name to be changed from localhost.localdomain. Open Terminal as root and execute the following commands: * Current hostname: hostn...")
 
(No difference)

Latest revision as of 00:18, 16 May 2016

The guidance below will allow the host name to be changed from localhost.localdomain.

Open Terminal as root and execute the following commands:

  • Current hostname:
hostname
  • Set new hostname (replace with the desired hostname):
hostname server.amahi.net
  • Make the change permanent:
hostnamectl set-hostname server.amahi.net
  • Verify change:
hostnamectl

That's it. No reboot required.


REF: Change Fedora 23 Hostname