Set Hostname2026/11/12 |
|
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) |
|
# 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: 6dcff80c438f43658dc505c0e26bb1db
Boot ID: d69acf981eb84fed8344f06f1a5f393f
Product UUID: ad6207fa-ead5-4753-b67b-02caad6d5ac9
Virtualization: kvm
Operating System: Fedora Linux 45 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:45
OS Support End: Wed 2027-12-08
OS Support Remaining: 1y 3w 4d
Kernel: Linux 7.2.15-300.fc45.x86_64
Architecture: x86-64
Hardware Vendor: Red Hat
Hardware Model: KVM
Hardware SKU: 9.8.0
Hardware Version: RHEL-9.8.0 PC _Q35 + ICH9, 2009_
Firmware Version: 1.16.3-5.el9_8.1
Firmware Date: Sun 2023-11-05
Firmware Age: 3y 1w
|