tomcat native 安装
来源:互联网 发布:淘宝网商城首页手机版 编辑:程序博客网 时间:2024/05/22 15:29
1)、安装 apr 跟 apr-util
下载 包 http://apr.apache.org/download.cgi
# tar zxf apr-1.5.2.tar.gz
# cd apr-1.5.2
修改 configure ,去除 $RM "$cfgfile" ,在30206 行
# ./configure --prefix=/usr/local/apr
# make && make install
# tar zxf apr-util-1.5.4.tar.gz
# cd apr-util-1.5.4
# ./configure --with-apr=/usr/local/apr
# make && make install
2)、安装 tomcat-native
tomcat native 在 tomcat/bin/ 下
# tar zxf tomcat-native.tar.gz
# cd tomcat-native-1.1.31-src
# cd jni/native/
# ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.8.0_20/ --with-ssl=yes
# make && make install
3)、配置 环境变量
vim /etc/profile
添加:
export LD_LIBRARY_PATH=/usr/local/apr/lib
source /etc/profile
4)、重启 tomcat
service tomcat8080 restart
# grep -i native catalina.out
输出:INFO: Loaded APR based Apache Tomcat Native library 1.1.31 using APR version 1.5.2.
0 0
- 安装tomcat native-library
- tomcat native 安装
- tomcat arp native 安装优化
- Linux下安装tomcat的native library
- CentOS安装、配置APR和tomcat-native
- SUSE安装、配置APR和Tomcat-Native
- tomcat安装与配置native,apr
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- 安装tomcat native library提升Tomcat的吞吐性能
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- tomcat native
- Apache Tomcat Native library
- Apache Tomcat Native Library
- java项目部署总结(二)tomcat安装与配置Native APR 模式
- 安装tomcat的native-1.2.7遇到openssl版本提示问题
- tomcat安装APR本地库不兼容问题的解决 APR based Apache Tomcat Native library is installed
- tomcat的加速器--Apache Tomcat Native
- 关于EOF和NULL
- 获得ubuntu的版本与codename
- java学习笔记(一)
- 深入理解递归以及汉诺塔问题[数据结构]
- Notepad++配合MinGW直接编译运行C/C++代码的窍门
- tomcat native 安装
- JDK自动拆箱下,三目运算符的潜规则
- 运行时的用法积累
- VC++ 6.0 JNI的实现
- 01. redis 简介&&安装
- android 自定义控件之一
- 怎样使用OpenCV进行人脸识别
- pycharm快捷键、常用设置、包管理
- cell与Model的那些事