查看ip
ip addr
ip link
添加服务
systemctl enable nginx
添加防火墙端口
firewall-cmd --zone=public --add-port=80/tcp –permanent
重启防火墙
systemctl restart firewalld