[root@ECS02 ~]# cat  /etc/hostname
ECS02

[root@ECS02 ~]# cat /etc/hosts
127.0.0.1       localhost       localhost.localdomain   localhost4      localhost4.localdomain4
::1     localhost       localhost.localdomain   localhost6      localhost6.localdomain6
172.18.150.42   ECS02   ECS02

[root@ECS02 ~]# cat /etc/sysconfig/network
# Created by anaconda

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐