Subject: Manually download and unpack the Tomcat package
Author: Linux
In response to: How To Install Tomcat on Ubuntu 16.04 Box
Posted on: 10/21/2017 01:30:30 AM
Step 1) Download the Tomcat package
First go to http://tomcat.apache.org/download-80.cgi, find the tar.gz under Binary Distributions and download it to local Windows machine.
Step 2). Make the folder available
$ sudo mkdir /opt/tomcat
$ cd /opt
$ sudo chmod 777 tomcat
Step 3). Upload the downloaded Tomcat by WinSCPCopy apache-tomcat-8.5.23.tar.gz onto /opt/tomcat
Step 4). Unzip the package
$ cd /opt/tomcat
$ tar xzf apache-tomcat-8.5.23.tar.gz
The Tomcat content is under folder
/opt/tomcat/apache-tomcat-8.5.23Step 5). Verify it is working
$ cd /opt/tomcat/apache-tomcat-8.5.23
$ ./bin/startup.sh
Using CATALINA_BASE: /opt/tomcat/apache-tomcat-8.5.23
Using CATALINA_HOME: /opt/tomcat/apache-tomcat-8.5.23
Using CATALINA_TMPDIR: /opt/tomcat/apache-tomcat-8.5.23/temp
Using JRE_HOME: /usr/local/java/jdk1.8.0_152
Using CLASSPATH: /opt/tomcat/apache-tomcat-8.5.23/bin/bootstrap.jar:/opt/
tomcat/apache-tomcat-8.5.23/bin/tomcat-juli.jar
Tomcat started.
Goto the box's browser and use localhost
Or other machine's browser and use box's ip-address
Finally, stop it
>
> On 10/21/2017 01:28:17 AM
Linux wrote:
Prerequisites
Java JDK installed and JAVA_HOME has been set up. Check here to see details.
References: