Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ APR for Tomcat installation under Linux     - Easy to get hidden administrator account (Linux)

- Commentary Apache + Tomcat + JK implement Tomcat clustering and load (Server)

- Build a Linux development environment under STC89C52RC (Linux)

- LVM Disk Manager Application (Linux)

- Fatal NI connect error 12170 error in Alert Log (Database)

- Linux RAID Set RAID 10 or 0 + 1 (Linux)

- Linux screen command (Linux)

- Get basic information about Linux server script (Server)

- MySQL 5.7.9 source compiler installation instructions (Database)

- Oracle 11g tracking and monitoring system-level triggers to drop misuse (Database)

- Standard and IO redirection (Linux)

- PuTTY Xming achieve the X11 forwarding ssh (Server)

- Merge sort Java implementation (Programming)

- MySQL uses Federate engine mapping table to achieve operation of the local remote operation table (Database)

- Linux start the process (Linux)

- Distributed Hadoop1.2.1 cluster installation (Server)

- cp: omitting directory error solutions under Linux (Linux)

- RCU lock in the evolution of the Linux kernel (Linux)

- Oracle to create an external table (Database)

- Using Python multithreaded mistakes summary (Programming)

 
         
  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:      
 
- How to manage the time and date at systemd Linux systems (Linux)
- Sort search algorithm Java - application examples with recursive dichotomy (Programming)
- Docker knowledge base (Server)
- C ++ free store and heap (Programming)
- Those things packaged using Gradle to Android (Programming)
- Python Basics Tutorial - lambda keyword (Programming)
- Automatic Clear date directory shell script (Linux)
- JavaScript original values and complex values (Programming)
- MongoDB configuration in Ubuntu 14.04 (Database)
- Oracle query start with connect by tree (Database)
- Upgrade Goldengate 11.1.1.1.2 to 11.2.1.0.1 (Database)
- Linux shell in back quotes (`) Application (Linux)
- C # / iOS / Android Universal Encryption and decryption (Programming)
- OpenJDK7 source compiler installation on CentOS 6.5 (Linux)
- Enterprise Encrypting File System eCryptfs Comments (Linux)
- How to avoid two Chrome icon appears in ELementary OS Freya (Linux)
- OpenGL Superb Learning Notes - GLSL language foundation (Programming)
- Windows SmartGit installation (Linux)
- How to use GRUB2 files directly from the hard disk to run ISO (Linux)
- How to use Android Studio to play more package names APK (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.