Tuesday, 5 March 2013

How to install Tomcat on the Linux Servers

First install java or jdk for the tomcat to run.

 Then installe tomat using the link below

Inorder to access tomcat on port 80 which is apache port we need to redirect the port 80 requests to port 8080 via iptables .
Below is the command for that.

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

No comments:

Post a Comment