1. Remember the environment configuration of CAS setup that failed once

Source: Internet
Author: User

========================================================== ========================================================== ======================================

Setp1: Install JDK, tomcat, and associated: Reference: http://jingyan.baidu.com/article/8065f87fcc0f182330249841.html

========================================================== ========================================================== ======================================

1. Install the Tomcat server

:http://tomcat.apache.org/

2. Install jdk1.7

:http://www.oracle.com/technetwork/java/javase/downloads/index.html

3. Configure environment variables related to JDK and tomcat to associate JDK with Tomcat.

JDK: 1, java_home, variable value: C: \ Program Files \ Java \ jdk1.7.02, path: % java_home % \ bin; % java_home % \ JRE \ bin3, classpath :.; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jartomcat: 1, catalina_base, variable value: Tomcat root directory 2, catalina_home, variable value: Tomcat root directory 3, path: % catalina_home % \ Lib; % catalina_home % \ bin

4. Start the Tomcat Service

CMD to enable Tomcat service command: startupps: the shutdown command is used by default. It seems that it is in conflict with the shuwdown command in the window. You can go to the bin directory of Tomcat to shutdown. you can change the name of BAT to another one.

5. Check whether JDK is properly installed.

Check command: javac, Java, javadoc version view: Java-version and above all values are returned is normal!

6. Enter http: // localhost: 8080 in the browser. The startup page is displayed, and the installation is successful!

 

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.