Friday, October 26, 2012

How to install tomcat in windows

In tnis tutorial i will explain how configure apache tomcat 7.x for SSL protocol (https://)
I used apache tomcat 7.xx for my configuration

1. download apache tomcat fresh copy from the official web site and extract it some location in your hard disk( i used D:/tomcat)

2. Right click on MyComputer and click on properties-> Advaced System Settings -> Environment Variables (in Advanced Tab)







3. Click on the New button in System variables and add Variable Name as CATALINA_HOME
Variable Value as tomcat installation location (in my case D:/tomcat)


Then click on OK

4. Find the path variable in system variable -> Click on Edit and add the ; at end of the value. Then append it to path to bin folder of tomcat (in my case D:/tomcat/bin). Click OK and exit




Now You are install tomcat in windows successfully.Then test the installation as below.

* Open command prompt
* go to tomcat install location/bin

  •  D:
  • cd %CATALINA_HOME%
  • cd bin

* type catalina.bat start

  • There will be new window prompt and tomcat server may start

* open a web browser and go to link localhost:8080

  • If tomcat installation successful , then official tomcat page will be loaded.



0 comments:

Post a Comment