

sudo tar xzvf apache-tomcat-8*tar.gz -C /opt/tomcat -strip-components = 1.Create the directory, then extract the archive to it with these commands:
Org apache tomcat install#
We will install Tomcat to the /opt/tomcat directory. Use curl to download the link that you copied from the Tomcat website: This is a good directory to download ephemeral items, like the Tomcat tarball, which we won’t need after extracting the Tomcat contents: Next, change to the /tmp directory on your server. Under the Binary Distributions section, then under the Core list, copy the link to the “tar.gz”. At the time of writing, the latest version is 8.5.5, but you should use a later stable version if it is available. The best way to install Tomcat 8 is to download the latest binary release then configure it manually.įind the latest version of Tomcat 8 at the Tomcat 8 Downloads page. Now that our tomcat user is set up, let’s download and install Tomcat.
Org apache tomcat how to#
You can learn how to do this by completing our Ubuntu 16.04 initial server setup guide. Prerequisitesīefore you begin with this guide, you should have a non-root user with sudo privileges set up on your server. This tutorial covers the basic installation and some configuration of the latest release of Tomcat 8 on your Ubuntu 16.04 server. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation. Apache Tomcat is a web server and servlet container that is used to serve Java applications.
