Debian 10 Buster
Sponsored Link

Set Hostname2019/07/12

 
If you'd like to set or change System's Hostname, configure like follows.
[1] Change hostname. (but if restarting computer, it will be back).
# show current hostname

root@debian:~#
debian
# change hostname

root@debian:~#
root@debian:~#
dlp    
# just changed

[2] Change hostname permanently.
root@debian:~#
hostnamectl set-hostname dlp.srv.world
# show settings

root@debian:~#
   Static hostname: dlp.srv.world
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 5faf3513ed0e4a6b8797e3d88363f513
           Boot ID: 3fcf1f70501e4ca5b780d438b0c0cbf0
    Virtualization: kvm
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-5-amd64
      Architecture: x86-64
Matched Content