Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We are now ready to install tomcat

  1. Fetch the version of tomcat you want from apache.org

    Code Block
    languagetext
    titleInstalling Tomcat
    cd /opt
    wget http://www.us.apache.org/dist/tomcat/tomcat-8/v8.0.27/bin/apache-tomcat-8.0.27.tar.gz
    tar xzf apache-tomcat-8.0.27.tar.gz
  2. Configuring Environment variables

  3. Code Block
    languagetext
    titleInstalling Tomcat
    echo "export CATALINA_HOME="/opt/apache-tomcat-8.0.27"" >> ~/.bashrc
    source ~/.bashrc
  4. Starting tomcat
  5. Code Block
    languagetext
    titleInstalling Tomcat
    cd /opt/apache-tomcat-8.0.27
    ./bin/startup.sh

...