![]() sudo tar xzvf apache-tomcat-9*tar.gz -C /opt/tomcat -strip-components = 1.Create the directory, then extract the archive to it with these commands: We will install Tomcat to the /opt/tomcat directory. Now, use curl to download the link that you copied from the Tomcat website: We’ll use the curl command-line tool to download the tarball. This is a good directory to download ephemeral items, like the Tomcat tarball, which we won’t need after extracting the Tomcat contents: Next, return to your SSH session and move 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 9.0.27, but you should use a later stable version if it is available. The best way to install Tomcat 9 is to download the latest binary release then configure it manually.įind the latest version of Tomcat 9 at the Tomcat 9 Downloads page. Now that our tomcat user is set up, let’s download and install Tomcat.
0 Comments
Leave a Reply. |