###1.安装java
完成后输入java -version,出现版本信息
输入 javac, 会出现
说明,JDK 和 JRE 安装正确
###2.安装tomcat
1.下载Tomcat windows安装包,解压到目标目录,我的是D:apache-tomcat-9.0.5
2.启动tomcat,建议用命令行启动,可以看到启动时候 信息,cd到bin目录下,输入 startup.bat
3.启动成功
###3.安装Jenkins
1.下载 Jenkins的.war 包
2.拷贝war包,到D:apache-tomcat-9.0.5webapps,即可(注意:Jenkins需)
3.查看8080端口,占用情况,可以借助QQ电脑管家,查看网络连接,被JAVA占用,说明Tomcat启动是正确的,如果被其他程序占用8080,需要kill
也可以在命令行下,bin目录下,输入 netstat -ano,图2
### 4.访问一下试试
1.浏览器访问 http://localhost:8080/
2. 访问Jenkins ,http://localhost:8080/jenkins(第一次访问可能会比较慢)
然后需要输入密码,根据路径找到文件,获得密码即可
跟着提示操作完成啦