Published October 11, 2017 by

Install Tomcat 8.5.23 in Ubuntu/Linux

Step 1: First install java


Step 2: go to /opt directory

# cd /opt

Step 3: give read/write permission to /opt directory

# sudo chmod -R 777 *

Step 4: download tomcat

# wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.20/bin/apache-tomcat-8.5.20.tar.gz
Step 5: extract downloaded files

# tar xzf apache-tomcat-8.5.20.tar.gz

Step 6: go to /bin directory and start tomcat

# cd /opt/apache-tomcat-8.5.20/bin

# sh startup.sh

Step 7: access tomcat

Go to browser and hit URL http://localhost:8080



For shutdown tomcat

# cd /opt/apache-tomcat-8.5.20/bin

# sh shutdown.sh