Deploy Jenkins in Ubuntu 16.04
来源:互联网 发布:我想学做淘宝 编辑:程序博客网 时间:2024/06/03 05:11
This article is simple note how to deploy Jenkins in Ubuntu 16.04
1. Download JDK 1.8 and deploy
Download link http://www.oracle.com/technetwork/java/javase/downloads/index.html
$ tar zxvf jdk-8u144-linux-x64.tar.gz
$ sudo mkdir /usr/lib/jvm
$ sudo mv jdk1.8.0_144/ /usr/lib/jvm/
$ gedit ~/.bashrc
Add below contents in the end of the .bashrc
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_144
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
(Then using "java --version" to check if java OK or not)
2. Download tomcat and deploy
Download link http://tomcat.apache.org/
$ tar zxvf apache-tomcat-9.0.0.M22.tar.gz
$ mv apache-tomcat-9.0.0.M22 ~/
$ mv apache-tomcat-9.0.0.M22/ ~/tomcat
3. Download Jenkins and deploy
Download link https://jenkins.io/download/
$ cp jenkins.war ~/tomcat/webapps/
4. Run tomcat
$ ~/tomcat/bin/startup.sh
At last, launch web browser, input address "localhost:8080/jenkins" to test.
Additional information, if not install tomcat, can use command "java -jar jenkins.war" to launch Jenkins.
- Deploy Jenkins in Ubuntu 16.04
- Jenkins插件之Deploy
- Jenkins插件之Deploy
- ubuntu 16.04 安装 Jenkins
- ubuntu 16.04安装Jenkins
- ubuntu 16.04 安装 Jenkins
- ubuntu 16.04 卸载 Jenkins
- Ubuntu 16.04 安装Jenkins
- Deploy Django in Apache
- Auto-Build, Deploy and Notify with Jenkins
- jenkins的Deploy Plugin插件的安装
- Jenkins常用插件之Deploy Plugin
- jenkins整合tomcat进行持续deploy
- Jenkins常用插件之Deploy Plugin
- how to setup razor in ubuntu 14.04 to deploy esxi 6.0
- Hot Deploy In Tomcat(maven)
- Deploy DjangoWeb Project in CentOS
- 在Ubuntu 16.04 LTS服务器部署Jenkins
- 机器学习笔记week1
- 1171: 加密(指针专题)
- 自定义数据类型
- centos6三行脚本永久修改时区时间
- shell脚本编写一些基础但容易忘记的小技巧(持续更新)
- Deploy Jenkins in Ubuntu 16.04
- caffe 根据训练输出的log 绘制accuracy loss 曲线时遇到 IndexError:list index out of range
- 【java设计模式】之 工厂(Factory)模式
- 取得不同类型的客户地址
- matlab鼠标拖动图形代码
- Android内存优化(一)DVM和ART原理初探
- Linux Cache管理radix_tree整理
- 导出数据到excel多个sheet
- Hibernate框架学习笔记02