Getting Started with Tomcat 7 on Windows

example of adding a cert to the CA store

Note: keytool is located on the JRE bin folder

keytool -import -alias mycaserver.mydomain.com -keystore "C:\Program Files\Java\jre1.8.0_151\lib\security\cacerts" -storepass changeit -file C:\X-Support\Certificates\mycaserver-root-Base64.cer

Keystores most common commands

CVP Security Guide (uses a lot of keystore commands

  • Download JRE 1.6 or JDK 1.6
  • Set the environment Variable JAVA_HOME if using a JDK
  • Set the environment variable JRE_HOME if using the JRE

Example:

JRE_HOME=C:\Program Files\Java\jre6
  • Download Tomcat 7 and put it to a folder of your choice.
  • Run Startup.bat (located in the /bin folder) to start up tomcat manually
  • To install as a Windows service, run the batch file service.bat and then update parameters as required by executable /bin/tomcat7w.exe.

Example:

service.bat install

Tomcat with IIS redirector

How to install tomcat on Ubuntu

  • Command to run tomcat in foreground - ./catalina.sh run
  • code/java/tomcat.txt
  • Last modified: 2020/09/16 07:53
  • by gerardorourke