关于Oracle Linux中的machine-id
关于Oracle Linux中的machine-id
参考自: How to Change the "machine-id" of Oracle Linux 7.1 and Later (Doc ID 2127429.1)
machine-id的介绍:
改变machine-id的方法: To execute the below operations on the cloned virtual machine with the "root" account. 1. Clear the original "machine-id".
Example : # cat /etc/machine-ide2bd0adf084a4c289cf335da4cd2f4b4 * Original "machine-id". # # cp -f /dev/null /etc/machine-id cp: overwrite '/etc/machine-id'? * Clear original value. # # cat /etc/machine-id # * Value has been cleared.
2. Create the new "machine-id" value.
# cat /etc/machine-id # * "/etc/machine-id" is empty. # systemd-machine-id-setup Initializing machine ID from random generator. * Success to generate and setup the new value. # # cat /etc/machine-id dab09965986b4ea1ba34dc7a79bb2830 * New value of "machine-id". # (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |