1、JDK 环境
2、官网下载
地址:http://tomcat.apache.org/
tomcat 9
tomcat 8
tomcat 7
Binary Distributions:
core:核心
Full documentation:文档
Deployer:编程用
Embedded:嵌入
Source Code Distributions:源码
3、Linux / Windows
压缩包 > 上传 > 解压 > /bin/startup.sh
解压 > /bin/startup.bat
4、环境变量(1个)
用户的 profile 文件 | |
---|---|
JAVA_HOME | JDK安装路径 |
curl 127.0.0.1:8080
5、bin
6、conf
conf/server.xml 第68行 修改端口
conf/tomcat-users.xml 末行前加 Manager控制台