- 安装jdk1.8
1.1 安装目录:/usr/bin/java
1.2 安装jdk工具包:yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
- 安装jenkins
1.1 安装目录:/usr/local/jenkins
1.2 手动启动:java -jar jenkins.war --httpPort=8080 --enable-future-java &
1.3 脚本启动
vim startjk.sh
#!/bin/bash
java -jar /usr/local/jenkins/jenkins.war --httpPort=8080 --enable-future-java &2> jenkins.log
标签:java,1.1,--,步骤,usr,linux,jenkins,安装
From: https://www.cnblogs.com/feel-myself/p/17217484.html