jenkins安装和配置

1.安装jenkins
  1.yum install java
   wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
   rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

  2.yum install jenkins

2.启动jenkins
  [root@localhost sysconfig]# systemctl start jenkins
[root@localhost sysconfig]# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
[root@localhost sysconfig]# ss -tnl
State       Recv-Q Send-Q               Local Address:Port                              Peer Address:Port              
                
LISTEN      0      50                              :::8080   

jenkins默认监听8080端口  

登录jenkins
  http://192.168.11.129:8080 
  cat /var/lib/jenkins/secrets/initialAdminPassword       
  admin
  632569a8b45b46d2b7799291e79bd958
jenkins基础配置

相关文章:

  • 2021-06-21
  • 2021-06-03
  • 2022-12-23
  • 2021-10-08
  • 2021-06-02
  • 2021-11-09
  • 2021-12-05
  • 2021-10-03
猜你喜欢
  • 2021-10-17
  • 2022-01-03
  • 2021-07-12
  • 2021-10-09
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案