安装Docker
yum install -y docker
查看Docker版本
docker -v
设置为开机自启,并检查启动状态
systemctl start docker
systemctl enable docker
systemctl status docker.service
1、安装Jenkins
//linux 远程下载安装包
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
//安装jenkins
yum install -y jenkins --nogpgcheck
//启动 jenkins
service jenkins restart
2、在浏览器输入ip加端口8080