Saturday, April 30, 2022

Jenkins Linux Installation.




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

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

 

  yum install fontconfig java-11-openjdk

  yum install jenkins

  


login as: root
root@192.168.2.132's password:
Last login: Sat Apr 30 13:59:16 2022
[root@localhost ~]# sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo                                                        --2022-04-30 14:22:19--  https://pkg.jenkins.io/redhat-stable/jenkins.repo
Resolving pkg.jenkins.io (pkg.jenkins.io)... 199.232.106.133, 2a04:4e42:5a::645
Connecting to pkg.jenkins.io (pkg.jenkins.io)|199.232.106.133|:443... connected.
ERROR: cannot verify pkg.jenkins.io's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to pkg.jenkins.io insecurely, use `--no-check-certificate'.

[root@localhost ~]# sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate
--2022-04-30 14:22:33--  https://pkg.jenkins.io/redhat-stable/jenkins.repo
Resolving pkg.jenkins.io (pkg.jenkins.io)... 199.232.106.133, 2a04:4e42:5a::645
Connecting to pkg.jenkins.io (pkg.jenkins.io)|199.232.106.133|:443... connected.
WARNING: cannot verify pkg.jenkins.io's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
HTTP request sent, awaiting response... 200 OK
Length: 85
Saving to: ‘/etc/yum.repos.d/jenkins.repo’

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

2022-04-30 14:22:34 (1.57 MB/s) - ‘/etc/yum.repos.d/jenkins.repo’ saved [85/85]

[root@localhost ~]# sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
[root@localhost ~]#
[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.snu.edu.in
 * extras: centos.mirror.snu.edu.in
 * updates: centos.mirror.snu.edu.in
base                                                                                                                                             | 3.6 kB  00:00:00
extras                                                                                                                                           | 2.9 kB  00:00:00
jenkins                                                                                                                                          | 2.9 kB  00:00:00
updates                                                                                                                                          | 2.9 kB  00:00:00
jenkins/primary_db                                                                                                                               |  41 kB  00:00:01
repo id                                                                         repo name                                                                         status
base/7/x86_64                                                                   CentOS-7 - Base                                                                   10,072
extras/7/x86_64                                                                 CentOS-7 - Extras                                                                    509
jenkins                                                                         Jenkins-stable                                                                       131
updates/7/x86_64                                                                CentOS-7 - Updates                                                                 3,728
repolist: 14,440
[root@localhost ~]# yum install fontconfig java-11-openjdk
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.snu.edu.in
 * extras: centos.mirror.snu.edu.in
 * updates: centos.mirror.snu.edu.in
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package java-11-openjdk.x86_64 1:11.0.14.1.1-1.el7_9 will be installed
--> Processing Dependency: java-11-openjdk-headless(x86-64) = 1:11.0.14.1.1-1.el7_9 for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libjava.so()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
---> Package java-11-openjdk-headless.x86_64 1:11.0.14.1.1-1.el7_9 will be installed
--> Processing Dependency: tzdata-java >= 2020f for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: copy-jdk-configs >= 3.3 for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: pcsc-lite-libs(x86-64) for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: lksctp-tools(x86-64) for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: javapackages-tools for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
--> Processing Dependency: cups-libs(x86-64) for package: 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64
---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: libX11-common >= 1.6.7-4.el7_9 for package: libX11-1.6.7-4.el7_9.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-4.el7_9.x86_64
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed
---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
---> Package libXtst.x86_64 0:1.2.3-1.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-8.el7 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package copy-jdk-configs.noarch 0:3.3-10.el7_5 will be installed
---> Package cups-libs.x86_64 1:1.6.3-51.el7 will be installed
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.el7.x86_64
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.el7.x86_64
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11-common.noarch 0:1.6.7-4.el7_9 will be installed
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
---> Package lksctp-tools.x86_64 0:1.0.17-2.el7 will be installed
---> Package pcsc-lite-libs.x86_64 0:1.8.8-8.el7 will be installed
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package tzdata-java.noarch 0:2022a-1.el7 will be installed
---> Package xorg-x11-font-utils.x86_64 1:7.5-21.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-21.el7.x86_64
--> Running transaction check
---> Package avahi-libs.x86_64 0:0.6.31-20.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.el7.noarch
--> Running transaction check
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                          Arch                           Version                                          Repository                       Size
========================================================================================================================================================================
Installing:
 fontconfig                                       x86_64                         2.13.0-4.3.el7                                   base                            254 k
 java-11-openjdk                                  x86_64                         1:11.0.14.1.1-1.el7_9                            updates                         234 k
Installing for dependencies:
 avahi-libs                                       x86_64                         0.6.31-20.el7                                    base                             62 k
 copy-jdk-configs                                 noarch                         3.3-10.el7_5                                     base                             21 k
 cups-libs                                        x86_64                         1:1.6.3-51.el7                                   base                            359 k
 dejavu-fonts-common                              noarch                         2.33-6.el7                                       base                             64 k
 dejavu-sans-fonts                                noarch                         2.33-6.el7                                       base                            1.4 M
 fontpackages-filesystem                          noarch                         1.44-8.el7                                       base                            9.9 k
 giflib                                           x86_64                         4.1.6-9.el7                                      base                             40 k
 java-11-openjdk-headless                         x86_64                         1:11.0.14.1.1-1.el7_9                            updates                          39 M
 javapackages-tools                               noarch                         3.4.1-11.el7                                     base                             73 k
 libICE                                           x86_64                         1.0.9-9.el7                                      base                             66 k
 libSM                                            x86_64                         1.2.2-2.el7                                      base                             39 k
 libX11                                           x86_64                         1.6.7-4.el7_9                                    updates                         607 k
 libX11-common                                    noarch                         1.6.7-4.el7_9                                    updates                         164 k
 libXau                                           x86_64                         1.0.8-2.1.el7                                    base                             29 k
 libXext                                          x86_64                         1.3.3-3.el7                                      base                             39 k
 libXi                                            x86_64                         1.7.9-1.el7                                      base                             40 k
 libXrender                                       x86_64                         0.9.10-1.el7                                     base                             26 k
 libXtst                                          x86_64                         1.2.3-1.el7                                      base                             20 k
 libfontenc                                       x86_64                         1.1.3-3.el7                                      base                             31 k
 libjpeg-turbo                                    x86_64                         1.2.90-8.el7                                     base                            135 k
 libxcb                                           x86_64                         1.13-1.el7                                       base                            214 k
 lksctp-tools                                     x86_64                         1.0.17-2.el7                                     base                             88 k
 pcsc-lite-libs                                   x86_64                         1.8.8-8.el7                                      base                             34 k
 python-javapackages                              noarch                         3.4.1-11.el7                                     base                             31 k
 python-lxml                                      x86_64                         3.2.1-4.el7                                      base                            758 k
 ttmkfdir                                         x86_64                         3.0.9-42.el7                                     base                             48 k
 tzdata-java                                      noarch                         2022a-1.el7                                      updates                         190 k
 xorg-x11-font-utils                              x86_64                         1:7.5-21.el7                                     base                            104 k
 xorg-x11-fonts-Type1                             noarch                         7.5-9.el7                                        base                            521 k

Transaction Summary
========================================================================================================================================================================
Install  2 Packages (+29 Dependent packages)

Total download size: 45 M
Installed size: 181 M
Is this ok [y/d/N]: y
Downloading packages:
(1/31): copy-jdk-configs-3.3-10.el7_5.noarch.rpm                                                                                                 |  21 kB  00:00:00
(2/31): avahi-libs-0.6.31-20.el7.x86_64.rpm                                                                                                      |  62 kB  00:00:00
(3/31): dejavu-fonts-common-2.33-6.el7.noarch.rpm                                                                                                |  64 kB  00:00:00
(4/31): cups-libs-1.6.3-51.el7.x86_64.rpm                                                                                                        | 359 kB  00:00:00
(5/31): fontconfig-2.13.0-4.3.el7.x86_64.rpm                                                                                                     | 254 kB  00:00:00
(6/31): fontpackages-filesystem-1.44-8.el7.noarch.rpm                                                                                            | 9.9 kB  00:00:00
(7/31): giflib-4.1.6-9.el7.x86_64.rpm                                                                                                            |  40 kB  00:00:00
(8/31): javapackages-tools-3.4.1-11.el7.noarch.rpm                                                                                               |  73 kB  00:00:00
(9/31): libICE-1.0.9-9.el7.x86_64.rpm                                                                                                            |  66 kB  00:00:00
(10/31): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                                                                                                 | 1.4 MB  00:00:00
(11/31): libSM-1.2.2-2.el7.x86_64.rpm                                                                                                            |  39 kB  00:00:00
(12/31): java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64.rpm                                                                                          | 234 kB  00:00:00
(13/31): libX11-1.6.7-4.el7_9.x86_64.rpm                                                                                                         | 607 kB  00:00:00
(14/31): libX11-common-1.6.7-4.el7_9.noarch.rpm                                                                                                  | 164 kB  00:00:00
(15/31): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                                                         |  29 kB  00:00:00
(16/31): libXext-1.3.3-3.el7.x86_64.rpm                                                                                                          |  39 kB  00:00:00
(17/31): libXrender-0.9.10-1.el7.x86_64.rpm                                                                                                      |  26 kB  00:00:00
(18/31): libXi-1.7.9-1.el7.x86_64.rpm                                                                                                            |  40 kB  00:00:00
(19/31): libXtst-1.2.3-1.el7.x86_64.rpm                                                                                                          |  20 kB  00:00:00
(20/31): libfontenc-1.1.3-3.el7.x86_64.rpm                                                                                                       |  31 kB  00:00:00
(21/31): libjpeg-turbo-1.2.90-8.el7.x86_64.rpm                                                                                                   | 135 kB  00:00:00
(22/31): lksctp-tools-1.0.17-2.el7.x86_64.rpm                                                                                                    |  88 kB  00:00:00
(23/31): libxcb-1.13-1.el7.x86_64.rpm                                                                                                            | 214 kB  00:00:00
(24/31): pcsc-lite-libs-1.8.8-8.el7.x86_64.rpm                                                                                                   |  34 kB  00:00:00
(25/31): python-javapackages-3.4.1-11.el7.noarch.rpm                                                                                             |  31 kB  00:00:00
(26/31): ttmkfdir-3.0.9-42.el7.x86_64.rpm                                                                                                        |  48 kB  00:00:00
(27/31): xorg-x11-font-utils-7.5-21.el7.x86_64.rpm                                                                                               | 104 kB  00:00:00
(28/31): python-lxml-3.2.1-4.el7.x86_64.rpm                                                                                                      | 758 kB  00:00:00
(29/31): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm                                                                                               | 521 kB  00:00:00
(30/31): tzdata-java-2022a-1.el7.noarch.rpm                                                                                                      | 190 kB  00:00:00
(31/31): java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64.rpm                                                                                 |  39 MB  00:00:11
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   3.6 MB/s |  45 MB  00:00:12
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libjpeg-turbo-1.2.90-8.el7.x86_64                                                                                                                   1/31
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                                                                                                           2/31
  Installing : libICE-1.0.9-9.el7.x86_64                                                                                                                           3/31
  Installing : libSM-1.2.2-2.el7.x86_64                                                                                                                            4/31
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                                                                                                               5/31
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                                                 6/31
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                                                                                                                    7/31
  Installing : avahi-libs-0.6.31-20.el7.x86_64                                                                                                                     8/31
  Installing : 1:cups-libs-1.6.3-51.el7.x86_64                                                                                                                     9/31
  Installing : libX11-common-1.6.7-4.el7_9.noarch                                                                                                                 10/31
  Installing : libfontenc-1.1.3-3.el7.x86_64                                                                                                                      11/31
  Installing : 1:xorg-x11-font-utils-7.5-21.el7.x86_64                                                                                                            12/31
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                                                        13/31
  Installing : libxcb-1.13-1.el7.x86_64                                                                                                                           14/31
  Installing : libX11-1.6.7-4.el7_9.x86_64                                                                                                                        15/31
  Installing : libXext-1.3.3-3.el7.x86_64                                                                                                                         16/31
  Installing : libXi-1.7.9-1.el7.x86_64                                                                                                                           17/31
  Installing : libXtst-1.2.3-1.el7.x86_64                                                                                                                         18/31
  Installing : giflib-4.1.6-9.el7.x86_64                                                                                                                          19/31
  Installing : libXrender-0.9.10-1.el7.x86_64                                                                                                                     20/31
  Installing : tzdata-java-2022a-1.el7.noarch                                                                                                                     21/31
  Installing : pcsc-lite-libs-1.8.8-8.el7.x86_64                                                                                                                  22/31
  Installing : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                   23/31
  Installing : copy-jdk-configs-3.3-10.el7_5.noarch                                                                                                               24/31
  Installing : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                       25/31
  Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                              26/31
  Installing : python-lxml-3.2.1-4.el7.x86_64                                                                                                                     27/31
  Installing : python-javapackages-3.4.1-11.el7.noarch                                                                                                            28/31
  Installing : javapackages-tools-3.4.1-11.el7.noarch                                                                                                             29/31
  Installing : 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64                                                                                              30/31
  Installing : 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64                                                                                                       31/31
  Verifying  : libXext-1.3.3-3.el7.x86_64                                                                                                                          1/31
  Verifying  : libXi-1.7.9-1.el7.x86_64                                                                                                                            2/31
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                                                                                                                    3/31
  Verifying  : giflib-4.1.6-9.el7.x86_64                                                                                                                           4/31
  Verifying  : libXrender-0.9.10-1.el7.x86_64                                                                                                                      5/31
  Verifying  : 1:xorg-x11-font-utils-7.5-21.el7.x86_64                                                                                                             6/31
  Verifying  : python-lxml-3.2.1-4.el7.x86_64                                                                                                                      7/31
  Verifying  : libICE-1.0.9-9.el7.x86_64                                                                                                                           8/31
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                                                                                                               9/31
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                                                                                                          10/31
  Verifying  : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                       11/31
  Verifying  : 1:cups-libs-1.6.3-51.el7.x86_64                                                                                                                    12/31
  Verifying  : 1:java-11-openjdk-11.0.14.1.1-1.el7_9.x86_64                                                                                                       13/31
  Verifying  : copy-jdk-configs-3.3-10.el7_5.noarch                                                                                                               14/31
  Verifying  : python-javapackages-3.4.1-11.el7.noarch                                                                                                            15/31
  Verifying  : 1:java-11-openjdk-headless-11.0.14.1.1-1.el7_9.x86_64                                                                                              16/31
  Verifying  : libXtst-1.2.3-1.el7.x86_64                                                                                                                         17/31
  Verifying  : libxcb-1.13-1.el7.x86_64                                                                                                                           18/31
  Verifying  : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                   19/31
  Verifying  : libjpeg-turbo-1.2.90-8.el7.x86_64                                                                                                                  20/31
  Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                              21/31
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                                                                                                                22/31
  Verifying  : pcsc-lite-libs-1.8.8-8.el7.x86_64                                                                                                                  23/31
  Verifying  : javapackages-tools-3.4.1-11.el7.noarch                                                                                                             24/31
  Verifying  : tzdata-java-2022a-1.el7.noarch                                                                                                                     25/31
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                                                        26/31
  Verifying  : libSM-1.2.2-2.el7.x86_64                                                                                                                           27/31
  Verifying  : libX11-1.6.7-4.el7_9.x86_64                                                                                                                        28/31
  Verifying  : libfontenc-1.1.3-3.el7.x86_64                                                                                                                      29/31
  Verifying  : libX11-common-1.6.7-4.el7_9.noarch                                                                                                                 30/31
  Verifying  : avahi-libs-0.6.31-20.el7.x86_64                                                                                                                    31/31

Installed:
  fontconfig.x86_64 0:2.13.0-4.3.el7                                            java-11-openjdk.x86_64 1:11.0.14.1.1-1.el7_9

Dependency Installed:
  avahi-libs.x86_64 0:0.6.31-20.el7                copy-jdk-configs.noarch 0:3.3-10.el7_5                         cups-libs.x86_64 1:1.6.3-51.el7
  dejavu-fonts-common.noarch 0:2.33-6.el7          dejavu-sans-fonts.noarch 0:2.33-6.el7                          fontpackages-filesystem.noarch 0:1.44-8.el7
  giflib.x86_64 0:4.1.6-9.el7                      java-11-openjdk-headless.x86_64 1:11.0.14.1.1-1.el7_9          javapackages-tools.noarch 0:3.4.1-11.el7
  libICE.x86_64 0:1.0.9-9.el7                      libSM.x86_64 0:1.2.2-2.el7                                     libX11.x86_64 0:1.6.7-4.el7_9
  libX11-common.noarch 0:1.6.7-4.el7_9             libXau.x86_64 0:1.0.8-2.1.el7                                  libXext.x86_64 0:1.3.3-3.el7
  libXi.x86_64 0:1.7.9-1.el7                       libXrender.x86_64 0:0.9.10-1.el7                               libXtst.x86_64 0:1.2.3-1.el7
  libfontenc.x86_64 0:1.1.3-3.el7                  libjpeg-turbo.x86_64 0:1.2.90-8.el7                            libxcb.x86_64 0:1.13-1.el7
  lksctp-tools.x86_64 0:1.0.17-2.el7               pcsc-lite-libs.x86_64 0:1.8.8-8.el7                            python-javapackages.noarch 0:3.4.1-11.el7
  python-lxml.x86_64 0:3.2.1-4.el7                 ttmkfdir.x86_64 0:3.0.9-42.el7                                 tzdata-java.noarch 0:2022a-1.el7
  xorg-x11-font-utils.x86_64 1:7.5-21.el7          xorg-x11-fonts-Type1.noarch 0:7.5-9.el7

Complete!
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum install jenkins
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.snu.edu.in
 * extras: centos.mirror.snu.edu.in
 * updates: centos.mirror.snu.edu.in
Resolving Dependencies
--> Running transaction check
---> Package jenkins.noarch 0:2.332.2-1.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                Arch                                  Version                                      Repository                              Size
========================================================================================================================================================================
Installing:
 jenkins                                noarch                                2.332.2-1.1                                  jenkins                                 90 M

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

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

Installed:
  jenkins.noarch 0:2.332.2-1.1

Complete!
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# service jenkin status
Redirecting to /bin/systemctl status jenkin.service
Unit jenkin.service could not be found.
[root@localhost ~]# service jenkins status
● jenkins.service - Jenkins Continuous Integration Server
   Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@localhost ~]# service jenkins start
Starting jenkins (via systemctl):
                                                           [  OK  ]
[root@localhost ~]#
[root@localhost ~]# systemctl enable jenkins
Created symlink from /etc/systemd/system/multi-user.target.wants/jenkins.service to /usr/lib/systemd/system/jenkins.service.
[root@localhost ~]#

No comments:

Post a Comment