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
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key;
yum install jenkins;

启动:

sudo systemctl start jenkins

查看服务状态:

sudo systemctl status jenkins

服务启动命令:

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

修改配置文件:

vi /etc/sysconfig/jenkins

初始密码位置:

/root/.jenkins/secrets/initialAdminPassword

最后编辑于:2024/2/25作者: joycode

我不入地狱,谁入地狱?

评论已关闭