Fedora 43

Set Hostname2025/11/05

 

If you would like to change Host Name of your System, set like follows.

[1] Change hostname. (but when System restarted, it will be back)
# show current hostname

[root@localhost ~]#
localhost.localdomain
# change hostname

[root@localhost ~]#
hostname dlp.srv.world

[root@localhost ~]#
dlp.srv.world    
# changed

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

[root@localhost ~]#
     Static hostname: dlp.srv.world
           Icon name: computer-vm
             Chassis: vm
          Machine ID: 3a8d640d88474b6999511de4410f92f2
             Boot ID: 5b5b4b4725f84b09993620c531f5e440
        Product UUID: d48b750b-7841-4926-ac3d-482ae8b67150
        AF_VSOCK CID: 1
      Virtualization: kvm
    Operating System: Fedora Linux 43 (Server Edition)
         CPE OS Name: cpe:/o:fedoraproject:fedora:43
      OS Support End: Wed 2026-12-02
OS Support Remaining: 1y 3w 5d
              Kernel: Linux 6.17.1-300.fc43.x86_64
        Architecture: x86-64
     Hardware Vendor: Red Hat
      Hardware Model: KVM
        Hardware SKU: 9.6.0
    Hardware Version: RHEL-9.6.0 PC _Q35 + ICH9, 2009_
    Firmware Version: 1.16.3-4.el9
       Firmware Date: Tue 2014-04-01
        Firmware Age: 11y 7month 5d
Matched Content