wget -c http://mirrors.hust.edu.cn/apache//apr/apr-1.5.2.tar.gz
tar zxvf apr-1.5.2.tar.gz
./configure
make && make install
export JAVA_HOME=/home/edn/jre1.8.0_73
./configure --with-ssl=/usr/bin
----------------------
vi /etc/profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib
source /etc/profile
tar zxvf apr-1.5.2.tar.gz
./configure
make && make install
选装HTTPS
----------------------
yum list all | grep ssl
export JAVA_HOME=/home/edn/jre1.8.0_73
wget -c http://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.0.36/bin/apache-tomcat-8.0.36.tar.gz
tar zxvf tomcat-native.tar.gz
cd tomcat-native-1.1.27-src/native/./configure --with-ssl=/usr/bin
make && make install
此处使用tomcat-6.0的文件,否则ssl版本低
无HTTPS不要添加--with-ssl
----------------------
vi /etc/profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib
source /etc/profile