centos修改主机名螃蟹就是横着走3年前更新关注19 修改配置文件: vi /etc/hostname 使用命令: hostnamectl set-hostname joycode 参考: Centos7 修改主机名 CentOS修改hostname的三种方法示例 THE END日积月累 收藏