- RHEL, Oracle and CentOS (versions 6 and lower)
- Edit the/etc/sysconfig/network file.
HOSTNAME=a24p-rhel6-01
- RHEL, Oracle and CentOS (version 7)
- Edit the/etc/hostname file.
- Debian and Ubuntu (all versions)
- Edit the/etc/hostname file
- SLES (all versions)
- Edit the/etc/HOSTNAME file