go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Install Tomcat on AWS EC2 instance
 
Subject: Install Tomcat on AWS EC2 instance
Author: Linux
Posted on: 10/12/2011 09:10:52 PM

Download and Install Tomcat

Go to download page: http://tomcat.apache.org/download-60.cgi. Look for "tar.gz" under "Binary Distributions/Core" and copy the link address.

# mkdir /env
# mkdir /env/tomcat
# cd /env/tomcat
# curl http://mirror.atlanticmetro.net/apache/tomcat/tomcat-6/v6.0.33/bin/
apache-tomcat-6.0.33.tar.gz > apache-tomcat-6.0.33.tar.gz
# tar zxvf apache-tomcat-6.0.33.tar.gz
# cd apache-tomcat-6.0.33
# bin/startup.sh
 

To verify the installation, load the root page from a web browser: http://INSTANCE_PUBLIC_DNS_NAME:8080/

Note:
  • Substitute the public DNS address of your instance, as shown on the EC2 dashboard.
  • Port 8080 must be set for the given security group.
  • JAVA_HOME must be correctly set.


    Replies:


    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.