You can start the tomcat server by executing the “ startup.sh” script. # ls /usr/share/tomcat8/bin Step 5: Starting Tomcat server In /usr/share/tomcat8/bin directory, you can view scripts like a startup, shutdown, Catalina etc to manage tomcat server. Listing contents of tomcat8 directory in /usr/share/tomcat8: # ls /usr/share/tomcat8Ĭhanging directory to /usr/share/tomcat8/bin: Switching to root user for performing admin operations. Moving the extracted apache-tomcat8 directory from /opt to /usr/share/tomcat8: $ sudo mv apache-tomcat-8.5.35 /usr/share/tomcat8 Step 4: Performing Admin Operations $ cd /optĮxtracting the compressed downloaded file and listing it $ sudo tar xzf apache-tomcat-8.5.35.tar.gz Navigate to /opt and start downloading the tar file. Setting Java Path Step 3: Download and extract Apache Tomcat 8.5/9Īfter installing JAVA, the next step is to download tomcat8 from official website Sart installing Java Runtime Environment (JRE) and Open JDK.
#Apache tomcat 8 for linux download install
If not then you install it according to the below steps. Step 1: Verify whether Java already exists in Serverįirst, you need to verify if Java is installed or not, you can check it by below command: $ java -version Then build your WAR (Web Archive) file, and just drop it in the deploy directory of Tomcat.What we are going to perform in this guide are as follow. In this guide, we are about to perform the installation for Tomcat 8.5.35 and will cover 9.0.13 in a separate article. Moreover, Its released number of bug fixes to earlier version 7.0.91. Basically to understand what the use of Tomcat it’s a simple HTTP server used for Java Servlet, JavaServer Pages, Java Expression Language.Īpache released it’s latest version 9.0.13 by last month which includes several improvements. Step 8: Shutting down the Tomcat Server.Īpache Tomcat is an open-source technology, which licensed under Apache License version 2.It is essential that you verify the integrity of the downloaded file using the PGP signature (. Step 7: Deploying the sample webpage in tomcat Alternate download locations are suggested below.Step 3: Download and extract Apache Tomcat 8.5/9.Step 2: Setting up Environment variable paths.Step 1: Verify whether Java already exists in Server.