Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ APR for Tomcat installation under Linux     - Shell Common Command Summary (Programming)

- Linux learning portal: CentOS 6.4 system kernel upgrade (Linux)

- Linux system security settings (Linux)

- C data types is how it is supported by most computer systems (Programming)

- Python Dir find a folder several files (Programming)

- Oracle metadata Reconstruction experiments (Database)

- To execute the cp command prompt type skip folder under CentOS (Linux)

- Remote installation of Net-SNMP whole process (Linux)

- Cygwin install Python MySQLdb (Linux)

- Firewall settings oracle remote connection in Linux systems (Linux)

- Using LLVM Clang and Blocks under Linux (Programming)

- How to protect your eyes automatically adjust the screen brightness on Linux (Linux)

- ACL permissions Linux command (Linux)

- VirtualBox 4.3 Can not open a new task for a virtual computer solution (Linux)

- Linux kernel source tree to establish load module hello (Linux)

- Depth understanding of JavaScript new mechanism (Programming)

- Amazon EC2 server using Rsync + Inotify real-time synchronization (Server)

- Build ASP.NET 5 development environment in Ubuntu (Server)

- GoldenGate update is missing (Database)

- Check the Linux server performance with ten or so commands in a minute (Server)

 
         
  APR for Tomcat installation under Linux
     
  Add Date : 2018-11-21      
         
         
         
 

I. Introduction

APR: Apache Portable Run-time libraries, Apache Portable Runtime library. In earlier versions of Apache, the application itself must be able to deal with the specific details of the operating system platform and calling different handlers for different platforms. With the further development of the Apache, Apache decided to organize these generic functions independent and develop into a new project. Thus, APR development on independence out from Apache, Apache is only using the APR only.

Tomcat Native: This project allows the use of Apache Tomcat package to deal with the apr including file and network IO operations to improve performance.

II. you need to install the program

The latest version of apr

The latest version of the apr-util

tomcat-native.tar.gz

The first two can be downloaded from http://apr.apache.org/, the last one in the bin directory under tomcat.

III, the installation

1 install apr

The latest installer apr apr-1.5.2.tar.gz downloaded to any directory, such as / root / directory.

cd / root /

wget http://apr.apache.org/apr-1.5.2.tar.gz

tar zxvf apr-1.5.2.tar.gz

cd apr-1.5.2 /

./ configure --prefix = / usr / local / apr

make

make install

Note that the prefix parameter is used to specify the installation path.

2 installation apr-util

cd / root /

wget http://apr.apache.org/apr-util-1.5.4.tar.gz

tar zxvf apr-util-1.5.4.tar.gz

cd apr-util-1.5.4 /

./ configure --prefix = / usr / local / apr-util --with-apr = / usr / local / apr

make

make install

3 installation tomcat-native

The author of tomcat directory /usr/local/apache-tomcat-7.0.63

cd /usr/local/apache-tomcat-7.0.63/bin /

tar zxvf tomcat-native.tar.gz

cd tomcat-native-1.1.33-src / jni / native /

./ configure --with-apr = / usr / local / apr --with-java-home = / etc / alternatives / java_sdk_1.7.0

make

make install

IV. apr set environment variables

Add the following in the / etc / profile in

export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: / usr / local / apr / lib

Once saved so that profile to take effect

source / etc / profile

V. verify

cd /usr/local/apache-tomcat-7.0.63/bin /

./ catalina.sh run

In the vicinity of the 35th row to see if the log output following the installation was successful

INFO: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.2

.

Jan 30, 2016 4:46:57 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]

.
     
         
         
         
  More:      
 
- Use LVM partition on Ubuntu and easily adjust the snapshot (Linux)
- Tomcat session clustering and server session (Server)
- To achieve Linux Security (Linux)
- How to customize your Linux desktop: Gnome 3 (Linux)
- MongoDB start under Linux (Database)
- How to Install Winusb in Ubuntu 14.04 (Linux)
- init level settings for Linux / etc / inittab file into six (restart) or does not support the level of solution (Linux)
- Linux serial debugging tools xgcom install (Linux)
- php performance monitoring module XHProf (Linux)
- Scope of variables in Object-C (Programming)
- Build Python3.4 + PyQt5.3.2 + Eric 6.0 development platform Ubuntu 14.04 (Server)
- MySQL Tutorial: Philosophical Reflections on the unauthenticated user (Database)
- After installing minimize RHEL / CentOS 7 we need to do (Linux)
- Linux Firewall Basics (Linux)
- When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)
- AngularJS asynchronous service testing and Mocking (Programming)
- How to become a better Node.js developers in 2016 (Programming)
- How to turn Java String into Date (Programming)
- Oracle local user login authentication fails ORA-01031 insufficient privileges (Database)
- Ubuntu apt-mirror established local private sources (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.