Wednesday, 21 April 2010

PWS HW4. Step 1 - Tomcat installation

Tomcat installation

1. Check the permission of the bin file in Tomcat directory. In linux is I have use this command
chmod +x *
in the bin directory.

2. To should run it:
2.1 Windows: open cmd, go to the bin directory and execute:
startup.sh

2.2 Unix based O.S. (Linux, Mac OS ): open the console, go to the bin directory and execute:
sh Catalina.sh start

Then you can check this web page:

It should show you the web page of tomcat.

3. To shoutdown the server you have to:
3.1 Windows: open cmd, go to the bin directory and execute:
shutdown.sh

3.2 Unix based O.S. (Linux, Mac OS ): Open the console, go to the bin directory and execute:
sh Catalina.sh stop


For more information about installation, you can find it here:
Official Tomcat website:
http://tomcat.apache.org/
http://linux-sxs.org/internet_serving/c140.html
http://tldp.org/HOWTO/MMBase-Inst-HOWTO/x321.html

No comments:

Post a Comment