参考地址
https://blog.csdn.net/felix_yujing/article/details/52385890
一、需要安装的包
1. 安装 openssl-1.0.2 (Http2.0需要用到)
下载到/usr/local/src进行安装 cd /usr/local/src wget 149.129.124.185:8080/download/openssl-1.0.2.tar.gz tar -zxf /usr/local/src/openssl-1.0.2.tar.gz cd /usr/local/src/openssl-1.0.2 ./config -fPIC --prefix=/usr/local/openssl-1.0.2 make make install #制作软链接 ln -s /usr/local/openssl-1.0.2/bin/openssl /usr/bin/openssl ln -s /usr/local/openssl-1.0.2/include/openssl /usr/include/openssl
2. 安装 apr
cd /usr/local/src wget http://149.129.124.185:8080/download/apr-1.5.2.tar.gz tar -zxf apr-1.5.2.tar.gz cd apr-1.5.2 ./configure --prefix=/usr/local/apr make make install
3. 安装 apr-util
cd /usr/local/src wget http://149.129.124.185:8080/download/apr-util-1.5.2.tar.gz tar -zxf apr-util-1.5.2.tar.gz cd apr-util-1.5.2 ./configure --with-apr=/usr/local/apr make make install
4. 安装 tomcat-native
二、server配置文件
原文地址:https://www.cnblogs.com/jtfr/p/11111380.html
时间: 2024-10-08 03:33:59