1.【Centos7】hostnamectl 设置主机名
https://blog.csdn.net/dream361/article/details/56833248
2.ip addr
https://linux.cn/article-3144-1.html
3.查看网络状态
systemctl status network
system restart network
4.