openEuler欧拉部署Jenkins
一、系统优化
关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
二、安装Jenkins
dnf -y install docker
docker search jenkins
docker pull jenkins/jenkins
mkdir -p /home/jenkins
docker run -d --name jenkins -uroot -p 8080:8080 -p 50000:50000 -v /home/jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker jenkins/jenkins
三、访问 ip:8080
查看初始化登录密码
cat /home/jenkins/secrets/initialAdminPassword
喜欢请赞赏一下啦^_^