Linux下用tomcat部署jenkins
Linux下用tomcat部署jenkinstomcat的配置详见:https://liuchao.blog.csdn.net/article/details/122238174jenkins.war下载:http://mirrors.jenkins-ci.org/war/上传war包到指定目录[root@Mark ~]# cd /data/interface/service/tomcat/web
·
Linux下用tomcat部署jenkins
tomcat的配置详见:https://liuchao.blog.csdn.net/article/details/122238174
jenkins.war下载:http://mirrors.jenkins-ci.org/war/
上传war包到指定目录
[root@Mark ~]# cd /data/interface/service/tomcat/webapps && rz
[root@Mark webapps]# ll
总用量 71880
drwxr-xr-x 14 root root 4096 2月 5 2019 docs
drwxr-xr-x 6 root root 83 2月 5 2019 examples
drwxr-xr-x 5 root root 87 2月 5 2019 host-manager
-r-------- 1 root root 73600435 12月 21 16:32 jenkins.war
drwxr-xr-x 5 root root 103 2月 5 2019 manager
drwxr-xr-x 3 root root 306 2月 5 2019 ROOT
进入tomcat/bin目录
[root@Mark webapps]# cd /data/interface/service/tomcat/bin
[root@Mark bin]#
启动tomcat
[root@Mark webapps]# cd /data/interface/service/tomcat/bin
[root@Mark bin]# sh /data/interface/service/tomcat/bin/startup.sh
Using CATALINA_BASE: /data/interface/service/tomcat
Using CATALINA_HOME: /data/interface/service/tomcat
Using CATALINA_TMPDIR: /data/interface/service/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_271/jre
Using CLASSPATH: /data/interface/service/tomcat/bin/bootstrap.jar:/data/interface/service/tomcat/bin/tomcat-juli.jar
Tomcat started.
[root@Mark bin]#
访问jenkins
http://linux机器ip:8080/jenkins
默认使用推荐插件安装
更多推荐
已为社区贡献1条内容
所有评论(0)