官方安装方法:
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
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END