Install apache tomcat 9 in ubuntu 18.04

  • cd /tmp
  • curl -O https://downloads.apache.org/tomcat/tomcat-9/v9.0.37/bin/apache-tomcat-9.0.37.zip
  • sudo mkdir -p /opt/tomcat
  • unzip apache-tomcat-9.0.37.zip
  • rm -rf apache-tomcat-9.0.37.zip
  • mv apache-tomcat-9.0.37/* /opt/tomcat/
  • cd /opt/tomcat
  • sudo chmod -R 0777 /opt/tomcat
  • sudo update-java-alternatives -l
  • OUTPUT – java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64

  • Then Create a system service
  • Click Here

Leave a Reply

Your email address will not be published. Required fields are marked *