安装net-tools工具集合包 安装net-tools工具集合包一、检查网络ping www.baidu.com二、安装net-tools工具集合包——前提条件dnf install -y vim wget net-tools三、安装服务dnf install -y httpd四、验证安装是否成功httpd -v五、启动服务systemctl start httpd # 当前启动systemctl enable httpd # 开机启动六、查看服务状态systemctl status httpd # 确保httpd服务状态是 active (running)七、关闭防火墙systemctl stop firewalldsystemctl disable firewalldsetenforce 0sed -i ‘s/SELINUXenforcing/SELINUXdisabled/’ /etc/selinux/config八、验证安装curl http://localhost