Change Host Name
From Amahi Wiki
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.