Sistema de gestão ELIGO

Instalar tomcat7 em versões de linux acima da 18.04 LTS

ELIGO.FAQ-178292

Trocar p Charset de UTF-8 para ISO-8859-1

editar o arquivo $TOMCAT_HOME/bin/catalina.sh
# -----------------------------------------------------------------------------
# Control Script for the CATALINA Server
#
# Environment Variable Prerequisites
#
#   Do not set the variables in this script. Instead put them into a script
#   setenv.sh in CATALINA_BASE/bin to keep your customizations separate.
#
#   [...]

CATALINA_OPTS="-Dfile.encoding=utf-8"

#   CATALINA_OPTS   (Optional) Java runtime options used when the "start",
#                   "run" or "debug" command is executed.
#                   Include here and not in JAVA_OPTS all options, that should
#                   only be used by Tomcat itself, not by the stop process,
#                   the version command etc.
#                   Examples are heap size, GC logging, JMX ports etc.
# [...]
Fonte: https://helpdev.com.br/2019/08/26/tomcat-encoding-forcando-o-encode-utf-8-no-tomcat-forcing-tomcat-to-use-utf-8-character-set-in-linux/

Instalar JAVA 8

sudo apt install openjdk-8-jre

Fonte: https://www.edivaldobrito.com.br/como-instalar-o-java-no-ubuntu-20-04-lts-e-derivados/