1. # vi /etc/hosts
    2. 重启网络模块生效,重启命令如下,无需重启操作系统
    3. # systemctl restart network
    4. # /etc/init.d/network restart