https://github.com/vroncevic/atmanager
Apache Tomcat Manager
https://github.com/vroncevic/atmanager
administration apache-tomcat application-server bash linux macos qnx shell tomcat tomcat-manager web
Last synced: 6 months ago
JSON representation
Apache Tomcat Manager
- Host: GitHub
- URL: https://github.com/vroncevic/atmanager
- Owner: vroncevic
- License: gpl-3.0
- Created: 2016-05-06T14:37:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T17:07:15.000Z (over 1 year ago)
- Last Synced: 2025-03-28T21:47:00.195Z (6 months ago)
- Topics: administration, apache-tomcat, application-server, bash, linux, macos, qnx, shell, tomcat, tomcat-manager, web
- Language: Shell
- Homepage: https://vroncevic.github.io/atmanager
- Size: 6.76 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apache Tomcat Manager
**atmanager** is shell tool for controlling/operating **[Apache Tomcat Server](http://tomcat.apache.org/index.html)**.
Developed in **[bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell))** code: **100%**.
[](https://github.com/vroncevic/atmanager/actions/workflows/atmanager_shell_checker.yml)
The README is used to introduce the tool and provide instructions on
how to install the tool, any machine dependencies it may have and any
other information that should be provided before the tool is installed.[](https://github.com/vroncevic/atmanager/issues) [](https://github.com/vroncevic/atmanager/graphs/contributors)
**Table of Contents**
- [Installation](#installation)
- [Usage](#usage)
- [Dependencies](#dependencies)
- [Shell tool structure](#shell-tool-structure)
- [Docs](#docs)
- [Copyright and licence](#copyright-and-licence)### Installation

Navigate to release **[page](https://github.com/vroncevic/atmanager/releases)** download and extract release archive.
To install **atmanager** type the following
```bash
tar xvzf atmanager-x.y.tar.gz
cd atmanager-x.y
cp -R ~/sh_tool/bin/ /root/scripts/atmanager/ver.x.y/
cp -R ~/sh_tool/conf/ /root/scripts/atmanager/ver.x.y/
cp -R ~/sh_tool/log/ /root/scripts/atmanager/ver.x.y/
```Self generated setup script and execution
```bash
./atmanager_setup.sh[setup] installing App/Tool/Script atmanager
Sun 21 Nov 2021 12:13:08 PM CET
[setup] clean up App/Tool/Script structure
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done/root/scripts/atmanager/ver.4.0/
├── bin/
│ ├── atmanager.sh
│ ├── center.sh
│ └── display_logo.sh
├── conf/
│ ├── atmanager.cfg
│ ├── atmanager.logo
│ └── atmanager_util.cfg
└── log/
└── atmanager.log3 directories, 7 files
lrwxrwxrwx 1 root root 48 Nov 21 12:13 /root/bin/atmanager -> /root/scripts/atmanager/ver.4.0/bin/atmanager.sh
```Or You can use docker to create image/container.
### Usage
```bash
# Create symlink for shell tool
ln -s /root/scripts/atmanager/ver.x.y/bin/atmanager.sh /root/bin/atmanager# Setting PATH
export PATH=${PATH}:/root/bin/# Start Apache Tomcat Server
atmanager startatmanager ver.4.0
Sun 21 Nov 2021 12:13:08 PM CET[check_root] Check permission for current session? [ok]
[check_root] Done
██
░██
██████ ██████ ██████████ ██████ ███████ ██████ █████ █████ ██████
░░░░░░██ ░░░██░ ░░██░░██░░██ ░░░░░░██ ░░██░░░██ ░░░░░░██ ██░░░██ ██░░░██░░██░░█
███████ ░██ ░██ ░██ ░██ ███████ ░██ ░██ ███████ ░██ ░██░███████ ░██ ░
██░░░░██ ░██ ░██ ░██ ░██ ██░░░░██ ░██ ░██ ██░░░░██ ░░██████░██░░░░ ░██
░░████████ ░░██ ███ ░██ ░██░░████████ ███ ░██░░████████ ░░░░░██░░██████░███
░░░░░░░░ ░░ ░░░ ░░ ░░ ░░░░░░░░ ░░░ ░░ ░░░░░░░░ █████ ░░░░░░ ░░░
░░░░░
Info github.io/atmanager ver.4.0
Issue github.io/issue
Author vroncevic.github.io[atmanager] Loading basic and util configuration!
100% [================================================][load_conf] Loading App/Tool/Script configuration!
[check_cfg] Checking configuration file [/root/scripts/atmanager/ver.4.0/conf/atmanager.cfg] [ok]
[check_cfg] Done[load_conf] Done
[load_util_conf] Load module configuration!
[check_cfg] Checking configuration file [/root/scripts/atmanager/ver.4.0/conf/atmanager_util.cfg] [ok]
[check_cfg] Done[load_util_conf] Done
[check_tool] Checking tool [/opt/tomcat/bin/catalina.sh]? [ok]
[check_tool] Done[check_op] Checking operation [start]? [ok]
[check_op] Done[atmanager] Operation: start Apache Tomcat Server
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[logging] Checking directory [/root/scripts/atmanager/ver.4.0/log/]? [ok]
[logging] Write info log!
[logging] Done[atmanager] Done
```### Dependencies
**atmanager** requires next modules and libraries
* sh_util [https://github.com/vroncevic/sh_util](https://github.com/vroncevic/sh_util)### Shell tool structure
**atmanager** is based on MOP.
Shell tool structure
```bash
sh_tool/
├── bin/
│ ├── atmanager.sh
│ ├── center.sh
│ └── display_logo.sh
├── conf/
│ ├── atmanager.cfg
│ ├── atmanager.logo
│ └── atmanager_util.cfg
└── log/
└── atmanager.log
```### Docs
[](https://atmanager.readthedocs.io/projects/atmanager/en/latest/?badge=latest)
More documentation and info at
* [https://atmanager.readthedocs.io/en/latest/](https://atmanager.readthedocs.io/en/latest/)
* [https://www.gnu.org/software/bash/manual/](https://www.gnu.org/software/bash/manual/)
* [http://tomcat.apache.org/tomcat-9.0-doc/introduction.html](http://tomcat.apache.org/tomcat-9.0-doc/introduction.html)### Copyright and licence
[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0)
Copyright (C) 2016 - 2024 by [vroncevic.github.io/atmanager](https://vroncevic.github.io/atmanager)
**atmanager** is free software; you can redistribute it and/or modify
it under the same terms as Bash itself, either Bash version 4.2.47 or,
at your option, any later version of Bash 4 you may have available.Lets help and support FSF.
[](https://my.fsf.org/)
[](https://my.fsf.org/donate/)