> For the complete documentation index, see [llms.txt](https://docs.cloudio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudio.io/setting-up-the-cloudio-platform/platform-installation/setting-up-the-worker-apache-cluster/setting-up-the-essentials-as-a-non-root-user/installing-the-tomcat-native-library.md).

# Installing the Tomcat native library

The Tomcat Native Library is a component that allows you to access the **Apache Portable Runtime** (APR).

1. Navigate to <http://download.nextag.com/apache/tomcat/tomcat-> > <http://tomcat.apache.org/download-native.cgi> and download connectors/native/1.1.33/source/tomcat-native-1.1.33-src.tar.gz.
2. Unzip the file in stage location using:

```
tar xvzf tomcat-native-1.1.33-src.tar.gz
cd tomcat-native-1.1.33-src/jni/native
```

&#x20;3\. Build binaries from the source.

```
./configure --with-apr=$HOME/APR \
--with-java-home=$JAVA_HOME \
--with-ssl=$HOME/OPENSSL \
--prefix=$CATALINA_HOME
E.g.
./configure --with-apr=/usr/bin/apr-1-config --with-java-home=/ua1001/cloudio/java/jdk1.7.0_79 --with-
ssl=/usr/include/openssl --prefix=/usr/lib64
make
make install
cd /usr/lib64
ln -s lib/libtcnative-1.so.0.1.22 libtcnative-1.so
ln -s lib/libtcnative-1.so.0.1.22 libtcnative-1.so.0
```

## Installing Tomcat Server

Refer [Installing and configuring the Tomcat Server](/setting-up-the-cloudio-platform/platform-installation/installing-the-servers/installing-and-configuring-the-tomcat-server.md).
