- Introduction
- What's Inside
- Project Structure
- Supported Platforms
- Additional Scripts
- How to Use
- Integrated Commands
- Features
- Support
Welcome to Apache-Tomcat-QuickSet, your go-to solution for effortlessly installing and configuring Apache Tomcat.
- 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.
Apache-Tomcat-QuickSet/
├── apache-tomcat.sh
├── README.md
├── Dependencies/
│ ├── removetomcat.sh
│ ├── passwizard.sh
│ ├── portuner.sh
│ └── fetchport.sh
└── .github/
└── workflows/
└── fetch_tomcat_versions.yml
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.
- Remove Tomcat:
removetomcat.sh
: Uninstalls Tomcat.
- Change Password:
passwizard.sh
: Changes the Tomcat admin password.
- Change Port Number:
portuner.sh
: Changes the Tomcat port number.
- Fetch Port Number:
fetchport.sh
: Fetch the Tomcat port number.
-
Clone the repository:
git clone https://github.com/tekadesukant/Apache-Tomcat-QuickSet.git cd Apache-Tomcat-QuickSet
-
Run the desired script:
sh apache-tomcat.sh # For Amazon Linux, Ubuntu, Debian, CentOS Stream, and RHEL sh Dependencies/removetomcat.sh # To remove Tomcat sh Dependencies/passwizard.sh # To change password sh Dependencies/portuner.sh # To change port number sh Dependencies/fetchport.sh # Fetch the Tomcat port number.
We've integrated convenient commands to manage Tomcat:
-
Start Tomcat:
tomcat --up
-
Stop Tomcat:
tomcat --down
-
Restart Tomcat:
tomcat --restart
-
Remove Tomcat:
tomcat --delete
-
Print Current Port Number:
tomcat --port
-
Change Tomcat Port Number:
tomcat --port-change <new_port>
-
Change Tomcat Password:
tomcat --passwd-change <new_password>
-
list all supported commands
tomcat --help
If you encounter any issues or have questions, feel free to open an issue on our GitHub repository or reach out to me.