阿里云Centos 系统修改服务器名称方法参考 打开ssh,进入 vi /etc/hostname i 想修改的名字 ESC :wq 保存后重启服务器 reboot 重启后查看名字 uname -n 如上。