Install Jenkin in Centos 7

前端之家收集整理的这篇文章主要介绍了Install Jenkin in Centos 7前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
[root@qwfys-0 ~]# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
--2018-03-15 15:36:27--  https://pkg.jenkins.io/redhat-stable/jenkins.repo
Resolving pkg.jenkins.io (pkg.jenkins.io)... 52.202.51.185
Connecting to pkg.jenkins.io (pkg.jenkins.io)|52.202.51.185|:443... connected.
HTTP request sent,awaiting response... 200 OK
Length: 85
Saving to: ‘/etc/yum.repos.d/jenkins.repo’

100%[================================================================>] 85          --.-K/s   in 0s      

2018-03-15 15:36:30 (2.54 MB/s) - ‘/etc/yum.repos.d/jenkins.repo’ saved [85/85]

[root@qwfys-0 ~]# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
[root@qwfys-0 ~]# install jenkins
install: missing destination file operand after ‘jenkins’
Try 'install --help' for more information.
[root@qwfys-0 ~]# yum install jenkins
Loaded plugins: fastestmirror,langpacks
gitlab_gitlab-ce/x86_64/signature                                                  |  836 B  00:00:00     
gitlab_gitlab-ce/x86_64/signature                                                  | 1.0 kB  00:00:00 !!! 
gitlab_gitlab-ce-source/signature                                                  |  836 B  00:00:00     
gitlab_gitlab-ce-source/signature                                                  |  951 B  00:00:00 !!! 
jenkins                                                                            | 2.9 kB  00:00:00     
jenkins/primary_db                                                                 |  23 kB  00:00:00     
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package jenkins.noarch 0:2.89.4-1.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
 Package                 Arch                   Version                     Repository               Size
==========================================================================================================
Installing:
 jenkins                 noarch                 2.89.4-1.1                  jenkins                  71 M

Transaction Summary
==========================================================================================================
Install  1 Package

Total download size: 71 M
Installed size: 71 M
Is this ok [y/d/N]: y Downloading packages: jenkins-2.89.4-1.1.noarch.rpm | 71 MB 00:00:16 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : jenkins-2.89.4-1.1.noarch 1/1 
  Verifying  : jenkins-2.89.4-1.1.noarch                                                                                                                                                                                                  1/1 

Installed:
  jenkins.noarch 0:2.89.4-1.1                                                                                                                                                                                                                 

Complete!
[root@qwfys-0 ~]# 

——参考文献:RedHat Linux RPM packages for Jenkins

原文链接:https://www.f2er.com/centos/374447.html

猜你在找的CentOS相关文章