![]() If you installed the tomcat9-admin web application above, you can configure it by adding the following lines to the end of your /var/lib/tomcat9/conf/tomcat-users.xml file before the line, substituting your own username and secure password. By default, Tomcat configuration files are located in the /var/lib/tomcat9/conf directory. Note that Tomcat listens on network port 8080 and does not accept forced HTTPS connections by default. ![]() For example, you might use, replacing with your domain name. You can test your Tomcat installation by pointing your browser at your domain name, specifying port 8080. If you need to stop or restart Tomcat you can use the following commands, respectively: sudo systemctl stop tomcat9 You can install all three with the following command: sudo apt-get install tomcat9-docs tomcat9-examples tomcat9-admin You may also want to install the tomcat9-docs, tomcat9-examples, and tomcat9-admin tools which provide web-based applications that document, test, and allow you to administer Tomcat. The package openjdk-11-jre-headless is included with the default-jre-headless metapackage in Ubuntu. OpenJDK will be installed as a dependency when you install the tomcat9 package.
0 Comments
Leave a Reply. |