配置管理界面
[[email protected] conf]# more tomcat-users.xml <role rolename="manager-gui"/> <user username="admin" password="admin" roles="manager-gui"/>
打开链接 http://192.168.1.201:8080/manager/status
设置最大内存
[[email protected] bin]# more catalina.sh
#!/bin/sh
JAVA_OPTS=‘-server -Xmx6144m -Xms6144m‘
END!
时间: 2024-10-10 07:16:56