Centos7安装Jenkins
-
1、安装:
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key yum install jenkins
-
2、启停:
/etc/init.d/jenkins start
/etc/init.d/jenkins stop
-
3、安装目录: /var/lib/jenkins
日志目录:/var/log/jenkins/jenkins.log -
5、解锁jenkins,将指定目录的文件粘贴到页面解锁
-
6、安装建议的插件
-
7、将Jenkins设置成中文,安装插件local
网友评论