Linux instructions

Apache Tomcat is a mandatory component required to run ESMC Web Console.

Before upgrading Apache Tomcat

1.Ensure that Java is updating correctly on your system.

Verify that the openjdk package has been updated (see below).

2.Check to see which version of Apache Tomcat is currently used. If a newer version is available, perform an upgrade:

Execute the following command: cd /usr/share/tomcat/bin && ./version.sh (in some cases the folder name is tomcat7 or tomcat8)

3.Check our list of supported versions of Apache Tomcat to ensure that the new version is compatible with ESET products.

4.Backup Tomcat configuration file /etc/tomcat7/server.xml.

 

How to upgrade

1.Stop the Apache Tomcat service:

Execute the following command: service tomcat stop (in some cases the service name is tomcat7 or tomcat8)

2.Upgrade Apache Tomcat and Java according to the Linux distribution used. Execute the following commands in Terminal:

Debian and Ubuntu distributions

sudo-apt-get update
sudo apt-get install openjdk-8-jdk tomcat7

CentOS, Red Hat and Fedora distributions

yum update
yum install java-1.8.0-openjdk tomcat

OpenSUSE

zypper refresh
zypper install java-1_8_0-openjdk tomcat

3.Replace the /etc/tomcat7/server.xml file with the server.xml file from your backup.

4.Make sure HTTPS connection for Apache Tomcat is set up properly.

validation-status-icon-warning IMPORTANT

After upgrading Apache Tomcat to a later major version (for example Apache Tomcat version 7.x to 8.x):

Deploy ESMC Web Console again (see ESMC Web Console installation - Linux)

Reuse %TOMCAT_HOME%/webapps/era/WEB-INF/classes/sk/eset/era/g2webconsole/server/modules/config/EraWebServerConfig.properties to preserve any custom settings in ESMC Web Console.