Git Product home page Git Product logo

tomcat-install's Introduction

Apache Tomcat Installation Shell-Script for Debian/Ubuntu {Tested on Ubuntu 22.04 LTS with Tomcat v8.x.x, v9.x.x, v10.x.x and v11.x.x-Mxx-(alpha releases) }

Run the below commands step-wise (one-by-one) to install the Tomcat Server

1. Change dir to /home

cd /home

2. Download the tomcat-install.sh

sudo wget https://raw.githubusercontent.com/prabhatraghav/tomcat-install/main/tomcat-install.sh

The Tomcat-install script is set to install Tomcat Version 10.1.18 (on port 8080) with Java version 17 as a default settings. But, you can make the necessary changes as per your requirements. To make changes to the main script, edit the "tomcat-install.sh" file and set the desired tomcat install environment elements like (TOMCAT_VERSION, TOMCAT_USER_PASS, TOMCAT_MANAGER_PASS, CUSTOM_TOMCAT_PORT, CUSTOM_JDK_VERSION etc.) and save the file before the run.

Edit the script (Skip this step if you want to install with default settings)

sudo nano tomcat-install.sh

3. Make it executable

sudo chmod +x tomcat-install.sh

4. Run the script

sudo sh tomcat-install.sh

Please read the instructions carefully, echoed on the screen at the end of this script, and save the tomcat-user and manager passwords.

5. Use the command to start the Tomcat

tomcat-up

6. Use the command to stop the Tomcat

tomcat-down

This script is developed by PRABHAT RAGHAV [email protected] (https://github.com/prabhatraghav/tomcat-install)

tomcat-install's People

Contributors

prabhatraghav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.