
$ tar xzf /tmp/apache-tomcat-9.0.45.tar.gz We unzip it to create a new directory, which includes the version number, but use a symbolic link so we can always use the same path for the CATALINA_HOME environment variable, regardless of the version. Install Tomcat from the tarball under the "/u01/tomcat" directory. We unzip it to create a new directory, which includes the version number, but use a symbolic link so we can always use the same path for the JAVA_HOME environment variable, regardless of the version. Install the JDK from the tarball under the "/u01/java" directory. We also create a directory called "/u01" to hold all the config, and make sure that it owned by the new "tomcat" user. Apache Tomcat (I used apache-tomcat-9.0.45.tar.gz)Ĭreate a user called "tomcat" to own the Tomcat installation.OpenJDK 11 Downloads (I used OpenJDK11U-jdk_圆4_linux_hotspot_11.0.10_9.tar.gz).

This article assumes these downloads are present in the "/tmp" directory on the server. Apache Tomcat 8 Installation on Linux (RHEL and clones)ĭownload the following software.

