Monday, June 2, 2014

How to install Tomcat on CentOS


Step 1: Download tomcat from the official website

Step 2: FTP tomcat to the CentOS

Step 3: Unzip it
jar xvf apache-tomcat-7.0.42.zip

Step 4: Deploy sample application
copy war to /webapps folder

Step 5: Restart tomcat


Enhancements:
1.  In setenv.sh, I shall use relative path, instead of absolute path
2.  I shall test all the setup locally, and then move to production enviornment
3.  How to set up java heap size in tomcat
4.

No comments:

Post a Comment