David Ghedini

Linux, Java, Oracle, and PostgreSQL

David Ghedini

Wednesday Mar 15, 2017

Tomcat Module for Webmin

It's always good to see I'm still getting new comments on my Tomcat 7 post from back in 2011(!).

Yesterday, we released our Tomcat Module for Webmin

The module works like any other Webmin module and allows you to install and manage Apache Tomcat from within Webmin.

The module provides a GUI for you to Stop, Start, and Restart Tomcat, Deploy and Un-Deploy WAR files, as well as edit the main configuration files.

The easiest way to install it is to simply go to Webmin->Webmin Configuration->Webmin Modules

In the 'From ftp or http URL', enter:


Refresh the main page and you should see "Apache Tomcat" under "Servers" in Webmin menu.

Click the "Install Now" button to install Tomcat and Java.

Below are Some Screen Shots

Tomcat Module:

Tomcat Module WAR Manager:

Tomcat Module Configuration Editor:

If you prefer to use GIT, you can follow below:

$ git clone https://github.com/AcuGIS/Tomcat-Webmin-Module
$ mv Tomcat-Webmin-Module tomcat
$ tar -cvzf tomcat.wbm.gz /tomcat

Distro Notes


Tested on Ubuntu 12, 14, 15, and 16


Tested on CentOS 6x64 and 7x64

haveged helps Tomcat start much faster.

yum install epel-release
yum install haveged
chkconfig haveged on

Tested on Debian 7 and 8


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.


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

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

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

Installing on Existing Tomcat Installations

You can also use the module to manage an existing installation as well.

1. Install via Webmin->Webmin Configuration->Webmin Modules
2. Under Server > Apache Tomcat click on the configuration icon in the top left corner.
3. Update the configuration paths to your existing Tomcat paths.
4. You should now be able to use all functionality.

Please post any issue here or at https://github.com/AcuGIS/Tomcat-Webmin-Module

Happy Tomcat'ing :)

Bookmark and Share

Monday Feb 28, 2011

Install Latest Webmin on CentOS, RHEL, of Fedora

This post will cover installing the latest Webmin on CentOS

The same procedure and rpm is used for Fedora and RHEL.

1. SSH to your server and first install perl-Net-SSLeay using yum

[root@server7]# yum -y install perl-Net-SSLeay

2. Download latest Webmin release for CentOS from: http://www.webmin.com/download.html using wget

[root@server7]# wget http://www.webmin.com/download/rpm/webmin-current.rpm

* Using the http://www.webmin.com/download/rpm/webmin-current.rpm url will always download the latest version.

3. Verify the integrity of the Webmin rpm using MD5. To do this, use the md5sum command

[root@server7]# md5sum webmin-1.831-1.noarch.rpm
c2c3c317ca44f1de78d88ef512861c7e  webmin-1.831-1.noarch.rpm

Compare the output above to the official MD5 Checksum on the Webmin Site.

The MD5 Checksum listed on the Webmin site, c2c3c317ca44f1de78d88ef512861c7e, matches our output above, so we are ready to install.

4. Install the Webmin rpm.

[root@server7]# rpm -i webmin-1.831-1.noarch.rpm 

You should get a message at the end of the install informing you that you can reach the installation at: https://hostname(or server IP):10000

Bookmark and Share

Main Menu

Built With




Tag Cloud

Hosted by:




petiole Cloud