Debian4 install tomcat

Source: Internet
Author: User
Debian4: install tomcat-Debian, the Linux release technology. For more information, see. Http://tomcat.apache.org/download-55.cgi

Download tomcat
Download installation jdk-1_5_0_15-linux-i586.bin jre-1_5_0_15-linux-i586.bin

Vim etc/profile

Add

JAVA_HOME =/usr/local/jdk
CLASSPATH = $ JAVA_HOME/lib: $ JAVA_HOME/jre/lib
PATH = $ PATH: $ JAVA_HOME/bin: $ JAVA_HOME/jre/bin
Export path classpath JAVA_HOME

Test

Debian :~ # Echo $ JAVA_HOME
/Usr/local/jdk

Mv jdk/usr/local/jdk

Mv jre/usr/local/jre

Mv apache-tomcat5.5/usr/local/tomcat5

Cd ../tomcat5/bin

Debian:/usr/local/tomcat5/bin #./startup. sh

Ps-el | grep java

Http:/// IP: 8080

From: www.hilinux.com
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.