setting up tomcat in linux

Upload: saby83

Post on 07-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Setting Up Tomcat in Linux

    1/1

    Setting up Tomcat in Linux

    Install the latest version of Tomcat (version 7.0 as of writing this document) using the

    instructions provided here.

    Download the tar.gz file:

    http://tomcat.apache.org/download-70.cgi

    Open the command line and go to the location where the file is located.(Login as the super user

    if required). Extract the contents of the tar.gz file and move the extracted folder to the location

    where you want to install Tomcat. We will install it in /usr/local

    >tar xvzf apache-tomcat-7.0.14.tar.gz

    >mv apache-tomcat-7.0.14 /usr/local

    Now go to the installed directory and run the startup.sh script to start Tomcat

    >cd /usr/local/apache-tomcat-7.0.14

    /usr/local/apache-tomcat-7.0.14>./bin/startup.sh

    Open your browser and check if you can see the Tomcat startup page by going to the location:

    http://localhost:8080/

    Note: More documentation is available here:

    http://tomcat.apache.org/tomcat-7.0-doc/index.html

    http://tomcat.apache.org/download-70.cgihttp://localhost:8080/http://tomcat.apache.org/tomcat-7.0-doc/index.htmlhttp://tomcat.apache.org/download-70.cgihttp://localhost:8080/http://tomcat.apache.org/tomcat-7.0-doc/index.html