Suppose the JAVA environment is ready.^.^

First install Tomcat. Download hudson.war.

Then put “hudson.war” into Tomcat’s webapps folder.

Configure some environment variables:

  1. TOMCAT_HOME,
  2. HUDSON_HOME,
  3. CLASSPATH.

Start Tomcat, and then test http://localhost:8080/hudson/ to see whether it is OK.