Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket developed by the Apache Software Foundation… Although not as popular as Apache2 or Nginx HTTP servers, Tomcat is still important to some projects…
Tomcat works best when rendering web pages the include Java server page coding and Java Servlet… These languages are still required by some other protocols used by Java developers..
This brief tutorial is going to show students and new users how to instwall Tomcat on Ubuntu 16.04 / 17.10 and 18.04…
When you’re ready to install Tomcat, follow the steps below:
Step 1: Install Java JDK
Tomcat requires Java JDK to be installed in order to function… To install the original Java package, follow the guide below:
The easiest way to install Oracle Java JDK 8 on Ubuntu is via a third party PPA… To add that PPA, run the commands below
sudo add-apt-repository ppa:webupd8team/java
After running the commands above, you should see a prompt to accept the PPA key onto Ubuntu… accept and continue
Now that the PPA repository has been added to Ubuntu, run the commands below to download Oracle Java 8 installer…. the installer should install the latest Java JDK 8 on your Ubuntu machines.