deployment, installation and application of Tomcat server, one of the javaweb development

Source: Internet
Author: User

Moved a previously written blog "2014-12-10 21:43"

Having done a Java program these days and then picked him up on the web, I learned about the Tomcat server-based Web development, which is a review of the Tomcat server build process.

1. First go to the Tomcat official website to download the Tomcat installer, I downloaded the 6.x version, because I applied to the free server above only support JRE6, so downloaded the support jre6 version of the Tomcat, supposedly 7.x,8.x should be supported. 2. Second check the configuration of the Java environment variables inside the computer, at least ensure the installation of jdk1.6 and in the "My Computer" → "Properties" → "Advanced system settings" → "Environment variables" set the Java_home and Classpath (no new). Here Java_home (note case): Installation directory \jdk1.6.x.xclasspath set to:%java_home%/lib/rt.jar;%java_home%/lib/tools.jar

3. Then run the downloaded Apache-tomcat-6.x.exe Here take Apache-tomcat-6.0.18.exe as an example after running the next, to modify the installation directory, generally modified to the D drive, until the following diagram, note that the port to be set to 80, so that after entering the domain name to access the server without the port number, because the browser's default port is 80 port, Then remember the server administrator's account password and then use it. Next, select the directory where you installed the JDK jre6 such as: D:\Java\jre 6, after the next step, the installation is complete. This will make the Tomcat installation complete. Then run the installation directory D:\Apache software Foundation\tomcat 6.0\bin\tomcat6.exe to start the server

deployment, installation and application of Tomcat server, one of the javaweb development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.