sudo apt-get install tomcat8Check if the installation is successful by accessing the raspberry from a web browser and port 8080 (in my case http://192.168.1.200:8080/)
The following page is returned
It works !
If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
This is the default Tomcat home page. It can be found on the local filesystem at:/var/lib/tomcat8/webapps/ROOT/index.html
Tomcat8 veterans might be pleased to learn that this system instance of Tomcat is installed withCATALINA_HOME
in/usr/share/tomcat8
andCATALINA_BASE
in/var/lib/tomcat8
, following the rules from/usr/share/doc/tomcat8-common/RUNNING.txt.gz
.
You might consider installing the following packages, if you haven't already done so:
tomcat8-docs: This package installs a web application that allows to browse the Tomcat 8 documentation locally. Once installed, you can access it by clicking here.
tomcat8-examples: This package installs a web application that allows to access the Tomcat 8 Servlet and JSP examples. Once installed, you can access it by clicking here.
tomcat8-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.
NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in/etc/tomcat8/tomcat-users.xml
.
Nessun commento:
Posta un commento