Download the apache compressed file required under linux
http://download.csdn.net/detail/qq_30285985/9709693
should have
tomcat-connectors-1.2.42-src.tar
apr-util-1.5.4.tar.gz
apr-1.5.2.tar.gz
httpd-2.4.4.tar.gz
these four files
1.
look at this
http://www.cnblogs.com/itech/archive/2009/08/18/1548723.html
Error installing apache, apr error
Unzip the two files of apr to http-2.4.4/srclib (remove the version number)
then refer to
http://www.linuxidc.com/Linux/2012-06/62289.htm
After that apache was installed successfully
start discovery
httpd: Could not reliably determine the server's fully qualified domain nameModify the ServerName www.example.com:80 in the httpd.conf file and remove the "#" in front of it
And modify www.example.com:8080 to localhost:8080
Just restart