1.修改ServerInfo.properties文件

cd tomcat/lib/
unzip catalina.jar
cd org/apache/catalina/util/
vim ServerInfo.properties
server.info=Apache Tomcat
server.number=0.0.0.0
server.built=Jun 30 2020 18:00:00 UTC

2.重启Tomcat

cd tomcat
./bin/shutdown.sh
./bin/startup.sh