rpm安装jenkins 02
rpm安装jenkins
https://blog.csdn.net/dontYouWorry/article/details/129007966
最新版的jenkins,用rpm安装以后不需要配置对java的异类,自带openjdk支持
清华大学镜像源
https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/
解决下载秘钥问题
https://blog.csdn.net/dontYouWorry/article/details/135460464
rpm安装jenkins 2.426.4
rpm安装jenkiins 版本,jdk11+jenkins2.426.3 1. jdk下载地址: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6?permalink_comment_id=4038265 wget https://cfdownload.adobe.com/pub/adobe/coldfusion/java/java11/java11019/jdk-11.0.19_linux-x64_bin.tar.gz jenkins rpm包下载地址: https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/ wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/jenkins-2.426.3-1.1.noarch.rpm 2, 安装jdk mkdir -p /usr/lib/jvm tar xf tar xf jdk-11.0.19_linux-x64_bin.tar.gz -C /usr/lib/jvm vim /etc/profile export JAVA_HOME=/usr/lib/jvm/jdk-11.0.19 export JRE_HOME=/usr/lib/jvm/jdk-11.0.19/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH/bin source /etc/profile ln -s /usr/lib/jvm/jdk-11.0.19/bin/java /usr/bin/java ln -s /usr/lib/jvm/jdk-11.0.19/bin/java /usr/sbin/java ln -s /usr/lib/jvm/jdk-11.0.19/bin/java /usr/local/bin/java 2, 安装jenkins2.426.3 rpm -ivh jenkins-2.426.3-1.1.noarch.rpm 3, 安装字体,否则启动报错(hudson.util.AWTProblem) yum install fontconfig
1,如果jenkins 要做前端的打包机最后不要设施/etc/profile的环境变量,容易引起npm路径的错误。不写/etc/profile环境变量文件,则npm 命令使用正常
2,推荐的办法是jenkins安装nodeJS插件,使用插件来安装node
https://blog.csdn.net/cm_pq/article/details/129666621