deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie main contrib non-free
2. Install tomcat server.
apt-get install tomcat8
3. Install tomcat useful modules.
apt-get instal default-jdk
apt-get install tomcat8-admin tomcat8-examples tomcat8-docs
4. Tomcat 8 initial configuration.
vi /etc/tomcat8/tomcat-users.xml
in the block <tomcat-users></tomcat-users> add this code
<user username="admin" password="password" roles="manager-gui,admin-gui,manager-script,admin"/>
5. Test the Tomcat 8 server in your web browser.
localhost:8080
localhost:8080/docs/
localhost:8080/examples/
localhost:8080/manager/html
localhost:8080/host-manager/html
No comments:
Post a Comment