首页 > 技术文章 > 查看与修改主机名
bill-h 2020-06-05 01:11 原文
查看hostname:hostname
修改hostname:hostnamectl set-hostname master (比如要修改为master)
修改完重启生效:reboot