It is better to compile and install the version by yourself. If the old version is installed in YUM mode, uninstall it as follows: # yumremovehttpd otherwise use # rpm-qa | grephttpd to delete one by one # rpm-e ...... download http: www.apache.org and find the latest instructions.
It is better to compile and install your own version.
If the old version is installed in YUM mode, uninstall it as follows:
# Yum remove Httpd
Otherwise, use
# Rpm-qa |GrepHttpd
Delete one by one
# Rpm-e ......
========================================================== ====
Download To http://www.apache.org/find the latest
Download instructionsExtractDelete the tar.gz file by mistake. Use ll to list the files.Rm+ The file name can be deleted.
========================================================== ===
Download the httpd-2.2.19.tar.gz see http://www.linuxIdC.com/linux/2011-07/41049.htm.
# Tar zxvf httpd-2.2.19.tar.gz
#CdHttpd-2.2.19
#./Configure -- prefix =/usr/local/apache2 /--Enable-Proxy -- enable-ssl -- enable-cgi -- enable-reWrite-- Enable-so -- enable-moDuLe = so
# Make
# Make install
Start
Start of Automatic Installation
# Service httpd restart
An error is prompted when you enter this information.Services not recognized by httpd
See another article about http://www.linuxidc.com/Linux/2011-08/41260.htm.
Manual start
#/Usr/local/apache2/bin/ApachectlStart
This indicates that the installation is successful.
Enter http: // localhost/in your browser/
In this case, it indicates that the operation is successful!