linux 跟阿铭学linux tomcat

2022-05-20 14:29:46 浏览数 (1)

tomcat/conf/server.xml

Connector port="8080" 改连接端口 <Server> <Service> <Engine> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

image.png

tomcat <Host name="www.123.cn" appBase="/data/tomcatweb" unpackWARs="false" autoDeploy="true" xmlValidation="false" > <Context path="" docBase="/data/tomcatweb" debug="0" reloadable="true" crossContext="true"> </Host>

tomcat加入访问日志

image.png

context.xml配置连接mysql

image.png

image.png

0 人点赞