To have more control over Tomcat versions and updates, we will create a symbolic link It to the /opt/tomcat directory: unzip apache-tomcat-*.zip sudo mkdir -p /opt/tomcat sudo mv apache-tomcat-8.5.37 /opt/tomcat/ When the download is completed, run the following commands to extract the zip file Before downloading the zip file you should check the download page for a new version.Ĭhange to the /tmp directory and download the zip file with wget: cd /tmp wget At the time of writing, the latest version is 8.5.37. We will download the latest version of Tomcat 8.5.x from the Tomcat downloads page Running Tomcat as a root user is a security risk and is not recommended.Īnd group for our Tomcat instance with home directory of /opt/tomcat run the following command: sudo useradd -m -U -d /opt/tomcat -s /bin/false tomcat Download Tomcat # To install the default OpenJDK packageįrom the Debian 9 repositories run the following command: sudo apt install default-jdk Create Tomcat user # If you don’t have these utilities installed on your system you can do it by typing: sudo apt install unzip wget Install OpenJDK # Utility and extract the downloaded archive with unzip We will download the Tomcat zip file using the wget Prerequisites #īefore continuing with this tutorial, make sure you are logged in as a user with sudo privileges This tutorial will show you how to install Apache Tomcat 8.5 on Debian 9 and configure the Tomcat web management interface. It is one of the most widely used application and web server in the world today. Apache Tomcat is an open-source application server which supports Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |