1.修改ServerInfo.properties文件
cd tomcat/lib/
unzip catalina.jar
cd org/apache/catalina/util/
vim ServerInfo.propertiesserver.info=Apache Tomcat
server.number=0.0.0.0
server.built=Jun 30 2020 18:00:00 UTC2.重启Tomcat
cd tomcat
./bin/shutdown.sh
./bin/startup.sh
评论