安装apr和tomcat-native优化tomcat

安装apr

# yum -y install apr

安装apr-util

# yum -y install apr-util

安装tomcat-native

# yum -y install tomcat-native

启动tomcat,如果在catalina.out日志中输出如下,说明已经安装成功

INFO: Loaded APR based Apache Tomcat Native library 1.1.30 using APR version 1.3.9.