Install Aapche in Linux

install Apache in Linux
1. install
# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all --with-rewrite --with-cache
# make
# make install

2. no acceptable C compiler found in $PATH
# yum install gcc

3. checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
# yum install zlib-devel

4. install with ssl,
# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all --enable-ssl=shared --with-rewrite --with-cache --with-ssl=/usr/local/ssl
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected

# yum install openssl

//TODO: to be continued.

你可能感兴趣的:(Install Aapche in Linux)