Tomcat installation in ubuntu 1. environment: ubuntu9.020.jre1.6、tomctomcat6.0(apache-tomcat-6.0.8.tar.gz) 2. for details about jre installation and configuration, refer to "installation and configuration ".
Tomcat installation process in ubuntu 1. environment: ubuntu9.020.jre1.6、tomctomcat6.0(apache-tomcat-6.0.8.tar.gz) 2, jre installation and configuration see http://www.2cto.com/ OS /201209/155162.html 3, tomcat6 unzip and install www.2cto.com $ sudo tar-zxvf apache-tomcat-6.0.8.tar.gz $ sudo mv apache-tomcat-6.0.8/opt/tomcat 4, start tomcat, test if JAVA_HOME is not found, open catalina. sh $ sudo vim apache-tomcat-6.0.8/bin/catalina. sh // add a line JAVA_HOME =/usr/lib/java/jre1.6.0 _ 21 on the top 5. the test result is as follows: Using CATALINA_BASE:/opt/tomcat/apache-tomcat-6.0.8Using CATALINA_HOME: /opt/tomcat/apache-tomcat-6.0.8Using CATALINA_TMPDIR:/opt/tomcat/apache-tomcat-6.0.8/tempUsing JRE_HOME:/usr/lib/java/jre1.6.0 _ 21 www.2cto.com 6. modify the default port, open conf/server. xml $ sudo vim conf/server. xml // modify 8. open the browser, enter the address to open it normally, and the installation is complete.
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