![]() $ sudo tar xzvf apache-tomcat-9*tar.gz -C /opt/tomcat -strip-components=1 Once we set up tomcat user, now download the latest version of Tomcat 9 (i.e 9.0.30) from the Tomcat 9 Downloads page or use the following curl command-line tool to download the tarball and extract the archive to /opt/tomcat directory. $ sudo useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat We will create a new tomcat group and user to run the Tomcat service under /opt/tomcat directory (Tomcat installation). $ java -versionĬheck Java Version in Debian 10 Step 2: Install Tomcat in Debian 10įor security purposes, Tomcat should be installed and executed by unprivileged user (i.e. Once the Java installation is complete, check the version of Java installed on the system using the following command. Then install the Java Development Kit package using the apt command. First, update the system software package index using the apt command as shown.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |