| Set Hostname2016/06/22 | 
| 
This is the example for setting Hostname of your system.
 | |
| [1] | Change hostname. (but if rebooting, it will be back). | 
| # change hostname [root@localhost ~]# hostname dlp.srv.world  [root@localhost ~]# dlp.srv.world # just changed | 
| [2] | Change hostname permanently. | 
| 
[root@localhost ~]#  hostnamectl set-hostname dlp.srv.world  # show status [root@localhost ~]# 
   Static hostname: dlp.srv.world
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 48347c88480b47658dcd92da67729e70
           Boot ID: 065f73b6301548b39f79883a94fc2252
    Virtualization: kvm
  Operating System: Fedora 24 (Server Edition)
       CPE OS Name: cpe:/o:fedoraproject:fedora:24
            Kernel: Linux 4.5.5-300.fc24.x86_64
      Architecture: x86-64
 | 
|  |