tar xzvf httpd-2.2.27.tar.gz extracting installation package
yum install apr apr-util apr-util-devel gcc gcc-c ++ -y installation requires dependencies
cd httpd-2.2.27 / directory to enter decompression good
./configure --prefix = / usr / local / apache2 --enable-so --enable-rewrite --with-mpm = worker to select the installation directory initialization
make && make install to compile and install
systemctl stop firewalld.service turn off the firewall, or will not visit.
setenforce 0 Close selinux
/ Usr / local / apache2 / bin / apachectl start start
Successful visit