Linux hostname

Linux hostname takes effect in the following order

    1./proc/sys/kernel/hostname

    2./etc/sysconfig/network

    1 is a kernel parameter, if there is a value in 1, the hostname is displayed as the value configured by 1, if 1 is not set, then 2 The value configured in takes effect

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326619022&siteId=291194637