

$ tar xzf /tmp/apache-tomcat-8.5.35.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.

