跳到正文
返回知识库 · DevOps
主机名
更改主机名
方法一:
hostnamectl 命令
hostnamectl set-hostname xxxx
方法二:
修改 /etc/hostname 文件