Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ APR for Tomcat installation under Linux     - New experience Budgie (Budgerigar) desktop environment (Linux)

- Spacewalk remove packages install the update (Linux)

- Free compiler install MySQL-5.6.14 (Database)

- Linux system started to learn: how to view the contents of the seed on the Linux file (Linux)

- Ubuntu 14.04 Nvidia graphics driver installation and settings (Linux)

- jobs command example (Linux)

- Linux Study of --CentOS create local yum repository (Linux)

- Vagrant failed to start, stuck in Waiting for VM to boot solution (Linux)

- Camouflage Nginx Web server version to prevent invasion (Linux)

- Ubuntu 15.04 and Ubuntu 14.04 installed Cinnamon 2.6 (Linux)

- Oracle procedure or function Empty Table (Database)

- Taught you how to install Ubuntu Linux (Linux)

- Help you make Git Bisect (Linux)

- The method to mount the CD under Linux (Linux)

- Ubuntu and derivative users to install the system launcher SimDock 1.3 (Linux)

- Linux System Getting Started Learning: Debian download, installation and graphical interface (Linux)

- Create Your Own Docker base image in two ways (Linux)

- Ubuntu configuration SVN and http mode access (Server)

- Node.js simple interface server (Server)

- B-tree - ideas and implementation of C language code (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:      
 
- Difference Redhat5 and 6 YUM source configuration (Linux)
- NAT and firewall under Linux (Linux)
- Ubuntu 15.04 / CentOS 7.0 to set custom boot (Linux)
- MongoDB 3.0 New Features (Database)
- DM9000 bare Driver Design (Programming)
- Linux system started to learn: how to view the Linux thread of a process (Linux)
- Redis-2.8.17 installation and configuration process some errors (Linux)
- Iptables command in detail (Linux)
- How to fix Not Enough Free Disk Space On / boot on Ubuntu (Linux)
- XenServer Virtual Machine Installation --- first ISO image file storage expansion (Linux)
- Repair Chrome for Linux is (Linux)
- Source code is installed MySQL 5.6.28 (Database)
- After installing Ubuntu 15.04, to do a few things (Linux)
- Distributed transaction management Spring declarative transactions (Programming)
- Docker manage data (Linux)
- Linux startup and logon security settings (Linux)
- How to use scientific data Docker quickly configure the development environment (Server)
- Fast Learning Clojure (Programming)
- linux firewall configuration (Linux)
- Linux system security check notes on performance (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.