CentOS under Tpc-w Installation

Source: Internet
Author: User

1. Install Java (jdk-6u25-linux-x64.bin)

Mkdir/usr/java

cd/usr/java/

chmod +x Jdk-6u25-linux-x64.bin

./jdk-6u25-linux-x64.bin
2, install MySQL, and configure remote access

Reference URL: http://blog.csdn.net/lchengcome/article/details/6974347

3. Install Apache

Here's my version for apache-tomcat-6.0.29

Then copy the Mysql-connector-java-5.1.13-bin.jar to the Lib file in the Apache directory
MV Mysql-connector-java-5.1.13-bin.jar apache-tomcat-6.0.29/lib/

4, modify the configuration file/etc/profile

At the end of the file/etc/profile, add
Export java_home=/usr/java/jdk1.6.0_25
Export catalina_home=/usr/apache-tomcat-6.0.29
Export path= $JAVA _home/bin: $CATALINA _home/bin: $PATH
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar: $JAVA _home/lib/log4j-1.2.16.jar: $CATALINA _ Home/lib/servlet-api.jar: $CATALINA _home/lib/mysql-connector-java-5.1.13-bin.jar: $CLASSPATH

5. Automatically generate database data using Tpc-w

Reference URL: http://blog.csdn.net/lchengcome/article/details/7000079

6. Test (IP address for this computer here)

Enter Http://192.168.149.208:8080/tpcw/servlet/TPCW_home_interaction in the browser

If the connection is normal, the test will be successful


Note: The firewall needs to be shut down before installation, remember. Otherwise, there may be a lot of unexpected problems.

Related Article

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.