Skip to content

Installing Apache Tomcat on Linux

August 13, 2012

Steps:

  1. Move to the directory where you want to create the tomcat folder
    $ cd /usr/local/
  2. Download needed files and install
    $ wget http://www.globalish.com/am/tomcat/tomcat-7/v7.0.29/bin/apache-tomcat-7.0.29.tar.gz
    $ tar xvfz apache-tomcat-7.0.29.tar.gz
    $ ln -s apache-tomcat-7.0.29 tomcat
    
    
  3. Remove unneeded directories
    $ sudo rm apache-tomcat-7.0.29
    $ sudo rm apache-tomcat-7.0.29.tar.gz

How to use Apache Tomcat

To deploy web applications

Copy java war files into the /usr/local/tomcat/webapps folder

To Start Apache Tomcat

$ sudo sh /usr/local/tomcat/bin/startup.sh

To Stop Apache Tomcat

$ sudo sh /usr/local/tomcat/bin/shutdown.sh

Advertisements

From → Installation

One Comment

Trackbacks & Pingbacks

  1. Installing Apache Solr on Linux « SoftwareSanders

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: