推薦使用war包方式安裝逊抡,首先當(dāng)然是安裝Tomcat荡含,Centos 7 JDK竖般、Tomcat9 安裝并配置甚垦,請查看這篇文章。
安裝
- 下載war包
wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.46.1/jenkins.war
- 移動至Tomcat 的WebApps目錄
mv jenkins.war /usr/local/apache-tomcat-9.0.0.M18/webapps/
- 啟動或重啟Tomcat(如果已經(jīng)啟動則不必)
systemctl start tomcat
//or
systemctl restart tomcat
4.初次訪問并配置jenkins
http://192.168.1.161:8080/jenkins/
done.