...
5.Test your Tomcat installation
a. First, start tomcatTomcat
No Format |
---|
TOMCAT_HOME/bin/startup.sh |
...
You should see the Apache Tomcat Welcome screen
c. Shutdown tomcatTomcat
No Format |
---|
TOMCAT_HOME/bin/shutdown.sh |
...
2. Unzip the download into a suitable direcotydirectory. For example, you may unzip the file into the C:\ directory. This will create a directory like C:\apache-tomcat-6.x containing your Tomcat files.
...
For Windows (different versions may vary) you can create these environment variables by doing the following: right-click 'My Computer' select properties and then the Advanced tab. Then click Environment Variables and under System variables click New. From here, you can enter the name and value for CATALINA_HOME and again for JAVA_HOME if it's not already created.
4. Start tomcatTomcat. Try starting up tomcat Tomcat by running the C:\apache-tomcat-6.x\bin\startup.bat batch file. Point your browser to http://localhost:8080 and you should see the default Tomcat home page (see above image). To shutdown the server run C:\apache-tomcat-6.x\bin\shutdown.bat batch file.
...
GZipping of HTML content can be performed via Tomcat. To enable this functionality, set compression="on" in the in-use tomcat Tomcat connector, and set the list of compressable mime types. More information about this feature can be found in the Tomcat configuration page.
...