Tomcat Webmin Module

This is a mdoule for installing and managing Apache Tomcat within Webmin.

Install Apache Tomcat

Install Apache Tomcat within Webmin.

Install Java

Install and configure OpenJDK or Oracle JDK.

Domain Mapping

Map domains to your Tomcat applications

Stop, Start, and Restart Tomcat

Stop, start, and Restart Tomcat from within Webmin.

Edit Configuration Files

Edit Apache Tomcat configuration files.

Deploy WAR Files

Deploy, un-deploy, and re-deploy WAR files.


 

Install Module

 

1. How to install via CDN

1. Webmin->Webmin Configuration->Webmin Modules->From ftp or http URL

2. URL: https://cdn.acugis.com/apache-tomcat-webmin-plugin/tomcat.wbm.gz

3. md5: https://cdn.acugis.com/apache-tomcat-webmin-plugin/acugis-tomcat-webmin-plugin.txt

4. Go to Servers->Apache Tomcat (you may need to refresh page)

2. How to install from GIT

1. $ git clone https://github.com/AcuGIS/Tomcat-Webmin-Module

2. mv Tomcat-Webmin-Module tomcat

3. tar -cvzf tomcat.wbm.gz /tomcat

4. Upload from Webmin->Webmin Configuration->Webmin Modules

5. Go to Servers->Apache Tomcat (you may need to refresh page)

 

Operating System Notes

Ubuntu

Tested on Ubuntu 14, 16, and 18

Readhat/Fedora/CentOS

Tested on CentOS 6x64 and 7x64

haveged helps Tomcat start much faster.

1. yum install epel-release

2. yum install haveged

3. chkconfig haveged on

Debian

Tested on Debian 8 and 9

FreeBSD

tomcat_env doesn't work, because tomcat service(/usr/local/etc/rc.d/tomcat8) is not sourcing the setenv.sh file.

Work around is to set:

tomcat7_java_opts=
in service file.

ArchLinux

Install tomcat packages manually and then install module, because Webmin doesn't support pacman. Go to Existing Tomcat Installations below. pacman --noconfirm -S tomcat8 tomcat-native jre8-openjdk

OpenSuSe

Install tomcat packages manually and then install module. Go to Existing Tomcat Installations below.

zypper -n install tomcat tomcat-webapps tomcat-admin-webapps

Slackware

Install Tomcat using one of our scripts!

 

Credits

Created by: AcuGIS

The following are components are installed:

Apache Tomcat

OpenJDK

Oracle JDK


 

Keep Going

You have a working Apache Tomcat server. Keep going...

Apache Tomcat

OpenJDK

Oracle JDK

Submit issues on github or Contact us hello@acugis.com. *This site is not affiliated with Webmin or Apache Tomcat.