sed -i '1a nameserver 8.8.8.8' /etc/resolv.conf
yum makecache fast
yum check-update
yum -y install httpd httpd-devel gcc gcc-c++ libstdc++-devel autoconf automake libtool
systemctl start httpd.service
systemctl enable httpd.service
firewall-cmd --permanent --add-service http
systemctl restart firewalld.service