Loading
0

CentOS 7 安装jenkins

官方安装方法:

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

启动:

sudo systemctl start jenkins

查看服务状态:

sudo systemctl status jenkins

服务启动命令:

/etc/rc.d/init.d/jenkins

修改配置文件:

vi /etc/sysconfig/jenkins

最后编辑于:2021/8/18作者: 编程小战

我不入地狱,谁入地狱?

评论已关闭