安装jenkins
服务器
ip | 系统 | 配置 | 目录 | 部署版本 |
---|---|---|---|---|
172.24.32.200 | centos7.7 | 2c4g | /var/lib/jenkins/ | 2.222 |
官网地址
https://www.jenkins.io/doc/book/installing/
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
sudo yum upgrade
sudo yum install jenkins java-1.8.0-openjdk-devel
2、启动和开机自启动
sudo systemctl start jenkins
/sbin/chkconfig jenkins on
3、登陆url
http://172.24.32.200:8080/
网友评论