An open API service indexing awesome lists of open source software.

https://github.com/tekadesukant/apache-tomcat-quickset

Hey there! This repo contains everything you need to automate your Tomcat installation and setup. Run our script to get Tomcat up and running quickly and easily—no fuss, just pure efficiency!
https://github.com/tekadesukant/apache-tomcat-quickset

apache-tomcat automated-script

Last synced: about 1 year ago
JSON representation

Hey there! This repo contains everything you need to automate your Tomcat installation and setup. Run our script to get Tomcat up and running quickly and easily—no fuss, just pure efficiency!

Awesome Lists containing this project

README

          




Welcome aboard! Explore our realm



LinkedIn Badge


Instagram Badge


GitHub Badge

---
# Documentation Contents

1. [Introduction](#introduction)
2. [What's Inside](#whats-inside)
3. [Project Structure](#project-structure)
4. [Supported Platforms](#supported-platforms)
5. [Additional Scripts](#additional-scripts)
6. [How to Use](#how-to-use)
7. [Integrated Commands](#integrated-commands)
8. [Features](#features)
9. [Support](#support)

---

# Introduction

Welcome to **Apache-Tomcat-QuickSet**, your go-to solution for effortlessly installing and configuring Apache Tomcat.

## What's Inside?

- **Automated Script**: A robust script that handles the complete installation and setup of Tomcat. Simply execute it and watch your server come to life!
- **Weekly Updates**: The script is updated weekly. A job fetches the latest Tomcat version and updates the `apache-tomcat.sh` file for you.
- **Integrated Admin Tools**: Packed with essential Linux commands to perform administrative tasks effortlessly during setup and maintenance.
- **Broad Compatibility**: Seamlessly runs on Amazon Linux, Ubuntu, Debian, CentOS Stream, and RHEL — making it highly adaptable across environments.

## Project Structure

```
Apache-Tomcat-QuickSet/
├── apache-tomcat.sh
├── README.md
├── Dependencies/
│ ├── removetomcat.sh
│ ├── passwizard.sh
│ ├── portuner.sh
│ └── fetchport.sh
└── .github/
└── workflows/
└── fetch_tomcat_versions.yml

```

## Supported Platforms

Our scripts support the following OS platforms/cloud environments:

- **Supported Linux Distributions**:
- `apache-tomcat.sh`: This script has been succesfully tested on an Ubuntu 22.04/24.04, RHEL 8/9, CentOS Stream 8/9, Amazon Linux 2/2023 and Debian 12. Testing on Debian 10/11 is currently in progress.

## Additional Scripts

- **Remove Tomcat**:
- `remove-tomcat.sh`: Uninstalls Tomcat.
- **Change Password**:
- `passwizard-tomcat.sh`: Changes the Tomcat admin password.
- **Change Port Number**:
- `portuner-tomcat.sh`: Changes the Tomcat port number.

## How to Use

1. **Clone the repository:**
```bash
git clone https://github.com/tekadesukant/Apache-Tomcat-QuickSet.git
cd Apache-Tomcat-QuickSet
```

2. **Run the desired script:**
```bash
sh apache-tomcat.sh # For Amazon Linux, Ubuntu, Debian, CentOS Stream, and RHEL
sh remove-tomcat.sh # To remove Tomcat
sh passwizard-tomcat.sh # To change password
sh portuner-tomcat.sh # To change port number
```

## Integrated Commands

We've integrated convenient commands to manage Tomcat:

- **Start Tomcat:**
```bash
tomcat --up
```

- **Stop Tomcat:**
```bash
tomcat --down
```

- **Restart Tomcat:**
```bash
tomcat --restart
```

- **Remove Tomcat:**
```bash
tomcat --delete
```

- **Print Current Port Number:**
```bash
tomcat --port
```

- **Change Tomcat Port Number:**
```bash
tomcat --port-change
```

- **Change Tomcat Password:**
```bash
tomcat --passwd-change
```

- **list all supported commands**
```bash
tomcat --help
```

## Support

If you encounter any issues or have questions, feel free to open an issue on our [GitHub repository](https://github.com/tekadesukant/Apache-Tomcat-QuickSet/issues) or reach out to me.