修改以下檔案即可
/etc/network/interfaces
/etc/hosts
/etc/issue
如果有改過主機,要記得一併連/etc/hostname 一起改。
修改完後reboot即生效。
或 # systemctl restart networking.service
修改以下檔案即可
/etc/network/interfaces
/etc/hosts
/etc/issue
如果有改過主機,要記得一併連/etc/hostname 一起改。
修改完後reboot即生效。
或 # systemctl restart networking.service