Set Hostname2024/01/22 |
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:~ # hostname localhost # change hostname root@localhost:~ # hostname dlp.srv.world root@dlp:~ # hostname dlp.srv.world # changed |
[2] | Change hostname permanently so that it does not revert after system reboot. |
root@dlp:~ #
vi /etc/rc.conf # change the [hostname] line hostname=" dlp.srv.world "
|
|