Installing tomcat on Ubuntu

How to find java version
Install Tomcat on CentOS 7

To install tomcat on Ubuntu 18.04, run

Start tomcat with

Once tomcat started, you will be able to see it at

http://your-ip-addr:8080/

You can verify tomcat running with netstat

Tomcat default home page is

Some other folders

Deploying Application

You can upload war file to /var/lib/tomcat9/webapps folder. When you upload war file, it get auto extracted to the folder.

To deplay sample application, do following

Now you will see “sample” folder (/var/lib/tomcat9/webapps/sample). You can access the application with url

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.