标签:sudo restart source tom 安装插件 https tomcat auto echo
sudo apt-get remove jenkins
sudo apt-get purge jenkins
sudo apt-get purge --auto-remove jenkins
ln -s /java/jdk1.8.0_231/bin/java /usr/bin/java
配置Jdk软连接
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c ‘echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list‘
sudo apt-get update
sudo apt-get install jenkins
sudo /etc/init.d/jenkins [start|restart|stop]
cat /var/lib/jenkins/secrets/initialAdminPassword
$ sudo vi /etc/default/jenkins
#修改如下内容
HTTP_PORT=8085
#重启jenkins服务
$ sudo /etc/init.d/jenkins restart
输入刚才查询的密码
标签:sudo restart source tom 安装插件 https tomcat auto echo
原文地址:https://www.cnblogs.com/bluekang/p/13065231.html