Friday, March 22, 2013

How to install Tomcat on the Linux Servers


Hello,
First install java or jdk for the tomcat to run.

 Then installe tomat using the link below
 http://java.dzone.com/articles/installing-tomcat-7-ubuntu

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

Hello,
First install java or jdk for the tomcat to run.

 Then installe tomat using the link below
 http://java.dzone.com/articles/installing-tomcat-7-ubuntu

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