修改阿里云xshell下的实例名

嫌弃阿里云的实例名称太长了?
image
解决办法:

登录xshell

输入
hostnamectl set-hostname yumoz

image

重启阿里云服务器

image

查看实例名

实例名已改成:yumoz了。
image

Learn more ,Better more
原文地址:https://www.cnblogs.com/yumoz/p/14631859.html