~~~
systemctl stop httpd.service
yum erase httpd
echo "clear"
rm -rf /usr/local/httpd-2.4.25/
rm -rf /usr/local/apr/
rm -rf /usr/local/apr-util/
rm -rf /usr/local/pcre/
echo "download"
cd /usr/local/src/
if [ ! -f apr-1.5.2.tar.gz ]; then
wget http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz
fi
if [ ! -f apr-util-1.5.4.tar.gz ]; then
wget http://archive.apache.org/dist/apr/apr-util-1.5.4.tar.gz
fi
if [ ! -f pcre-8.39.tar.gz ]; then
wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.39/pcre-8.39.tar.gz
fi
if [ ! -f httpd-2.4.25.tar.gz ]; then
wget http://apache.cs.utah.edu//httpd/httpd-2.4.25.tar.gz
fi
ls
echo "untar"
~~~