更改ubuntu主机名称

vim /etc/hostname

将root更改为admin

vim /etc/passwd

posted @ 2019-06-24 20:37  Jamy  阅读(238)  评论(0)    收藏  举报