JK.Li 登录

Jenkins安装过程

Posted by 2021/3/27 11:49:36  •  Author:JK.Li  • 

 1  yum install jenkins

    2    yum install lrzsz

    3  yum install java-1.8.0-openjdk*

    4  sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

    5  yum -y install wget

    6  sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

    7  sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

    8  yum install jenkins

    9  ps -ef|grep nginx

   10  ps -ef|grep jenikns

   11  systemctl restart jenkins

   12  ps -ef|grep jenikns

   13  ps -ef|grep  jenkins

   14  curl locahost:8080

   15  systemctl status firewalld.service

   16  systemctl stop firewalld.service

   17  systemctl status firewalld.service

   18  systemctl disable firewalld.service

   19  yum install -y docker-io

   20  docker ps

   21  service docker start

   22  vi /etc/rc.d/rc.local

   23  chmod +x /etc/rc.d/rc.local

   24  yum install git

   25  git

   26  mvn


Tagged: jenkins  

Comments (0)  • 

0 评论列表

发表评论

京公网安备 11010702001442号