First, ready to work
Before you start installation, you will prepare two softwares for J2SDK and Tomcat. If J2SDK has been installed, you only need Tomcat.
The software used by the author is as follows:
Windows 2000 Advance Server SP4 J2SDK V1.4.2_04 - http://java.sun.com/j2se/1.4.2/download.html Tomcat V5.0.28 - http://apache.linuxForum.Net/dist/jakarta/ Tomcat-5 / v5.0.28 / bin / jakarta-tomcat-5.0.28.exe
Second, install J2SDK
Installation is simple, just double-click the downloaded file, the author chooses to install in the D: /J2SDK1.4.2_04 directory.
Set the environment variable, the method is as follows:
Right-click "My Computer" == "attribute ==" Advanced == "Environment Variable ==" New ...
Variable Name: Java_Home Variable: D: /J2SDK1.4.2_04
Third, install Tomcat
Run Jakarta-Tomcat-5.0.28.exe follows the prompt installation, even the service is selected as a Windows service.
If you want to change the installation path, you can operate in this step, even here chooses to be installed in D: / Tomcat 5.0. Set the ports used here and the web management interface username and password, make sure that the port is not occupied by other programs. Select the J2SDK installation path, the installer will automatically search. If there is no correct display, you can modify it manually, even here is changed to D: /J2SDK1.4.2_04. Next, the copy file is started. After successful installation, the program will prompt the Tomcat and view the ReadMe document. Tomcat will load icons in the system bar after normal startup. You can see some settings items on the icon. Click Configure ... or double-click the icon to see the following display, select Startup Type to start automatically for Automatic, so that Tomcat is run automatically after each startup. Alternatively click on the Start or STOP button to control the run of Tomcat in this interface. 4. Testing to this installation and configuration have been completed, open the browser input: http: // localhost: 8080 You can see the Tomcat related information. V. Note