感覺默認的系統名稱很難看,得改改,如下
一、查看linux 系統版本信息
[root@iZbp15rmf8lyj2yhq136ebZ ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
二、查看hostname
[root@iZbp15rmf8lyj2yhq136ebZ ~]# hostname
iZbp15rmf8lyj2yhq136ebZ
三、重置hostname
[root@iZbp15rmf8lyj2yhq136ebZ ~]# hostnamectl set-hostname dex
[root@iZbp15rmf8lyj2yhq136ebZ ~]# hostname
dex
[root@iZbp15rmf8lyj2yhq136ebZ ~]#
[root@dex ~]#