Install and configure Tomcat in Ubuntu7.10

Source: Internet
Author: User
The specific process for installing and configuring Tomcat under Ubuntu7.10 is as follows: 1. download the latest version 6.0.14http: // latest on the Apache official website.

The specific process for installing and configuring Tomcat in Ubuntu7.10 is as follows:

1. download the latest version 6.0.14 from the Apache official website.

Http://apache.mirror.phpchina.com/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz

Http://www.apache.org/dist/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz.md5

Http://www.apache.org/dist/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz.asc

(Tomcat5.5 for sun-java5-jdk)

Decompress the package and copy it to the opt directory.

Sudo tar zxvf ~ Apache-tomcat-6.0.14.tar.gz

Sudo cp-R apache-tomcat-6.0.14/opt/apache-tomcat-6.0.14

2. environment variables:

Sudo gedit ~ /. Bashrc

Add the following two lines at the end of the file:

Export JAVA_HOME =/usr/lib/jvm/java-6-sun

Export PATH = $ PATH: $ JAVA_HOME/bin

3. Configure tomcat:

Start Eclipse, Window> Perferences> MyEclipse> Application Servers> Tomcat 6

Select Enble and the installation directory of tomcat 6/opt/apache-tomcat-6.0.14

After the configuration is complete, you can test it, start Tomcat 6, and enter

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.