修改前: 1. vim /etc/hosts 2.vim /etc/hostname 3.重启。 修改后: 1. vim /etc/hosts 2.vim /etc/hostname 3.重启。 修改后: