
Once Tomcat is started, the following URL should be available. The Tomcat logs are written to the "$CATALINA_HOME/logs/" directory by default. Start and stop Tomcat using the following scripts. #export JAVA_HOME=/home/tomcat/jdk1.7.0_79Įxport JAVA_HOME=/home/tomcat/jdk1.8.0_77Įxport CATALINA_HOME=/home/tomcat/apache-tomcat-7.0.68 Remember to set the desired JAVA_HOME correctly. Set the following environment variables and append them to the "/home/tomcat/.bash_profile" so they are set for subsequent logins. $ tar xzf /tmp/apache-tomcat-7.0.68.tar.gz
#Apache tomcat 7 install install
Install Tomcat from the tarball under the home directory of the "tomcat" user. Install the JDK (7 or 8) from the tarball under the tomcat user. Apache Tomcat (I used apache-tomcat-7.0.68.tar.gz)Ĭreate a user called "tomcat" to own the Tomcat installation.Java SE Development Kit 8 Downloads (I used jdk-8u77-linux-圆4.tar.gz).Java SE Development Kit 7 Downloads (I used jdk-7u79-linux-圆4.tar.gz).

This article assumes these downloads are present in the "/tmp" directory on the server. The installation will work with either JDK7 or JDK8, so pick which you prefer. Apache Tomcat 9 Installation on Linux (RHEL and clones)ĭownload the following software.Apache Tomcat 8 Installation on Linux (RHEL and clones).

The tarball approach to installation is largely unchanged compared to previous tomcat versions. Home » Articles » Linux » Here Apache Tomcat 7 Installation on Linux (RHEL and clones)Īpache Tomcat 7 is not available from the standard RHEL distributions, so this article provides information about the manual installation and basic configuration of Apache Tomcat 7 on RHEL and its clones from tarballs.
