Bo's Oracle Station

查看: 1364|回复: 2

课程第27次:2020-03-30星期一

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2020-3-30 19:42:36 | 显示全部楼层 |阅读模式
1. 水平虚拟机
1.1 crossover
  1. [root@server5 ~]# yum localinstall crossover-19.rpm
  2. Updating Subscription Management repositories.
  3. Unable to read consumer identity
  4. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  5. Last metadata expiration check: 1:12:18 ago on Mon 30 Mar 2020 07:48:25 PM CST.
  6. Dependencies resolved.
  7. ===================================================================================================================
  8. Package                   Arch              Version                                 Repository               Size
  9. ===================================================================================================================
  10. Installing:
  11. crossover                 i386              19.0.1-1                                @commandline            215 M
  12. Installing dependencies:
  13. libICE                    i686              1.0.9-13.el8                            AppStream                76 k
  14. libSM                     i686              1.2.3-1.el8                             AppStream                48 k
  15. libX11                    i686              1.6.7-1.el8                             AppStream               640 k
  16. libX11-xcb                i686              1.6.7-1.el8                             AppStream                14 k
  17. libXau                    i686              1.0.8-13.el8                            AppStream                36 k
  18. libXcursor                i686              1.1.15-3.el8                            AppStream                38 k
  19. libXdamage                i686              1.1.4-14.el8                            AppStream                27 k
  20. libXext                   i686              1.3.3-9.el8                             AppStream                48 k
  21. libXfixes                 i686              5.0.3-7.el8                             AppStream                25 k
  22. libXi                     i686              1.7.9-7.el8                             AppStream                51 k
  23. libXrandr                 i686              1.5.1-7.el8                             AppStream                35 k
  24. libXrender                i686              0.9.10-7.el8                            AppStream                34 k
  25. libXxf86vm                i686              1.1.4-9.el8                             AppStream                20 k
  26. libdrm                    i686              2.4.96-2.el8                            AppStream               177 k
  27. libglvnd                  i686              1:1.0.1-0.9.git5baa1e5.el8              AppStream                89 k
  28. libglvnd-glx              i686              1:1.0.1-0.9.git5baa1e5.el8              AppStream               126 k
  29. libxcb                    i686              1.13-5.el8                              AppStream               249 k
  30. libxshmfence              i686              1.3-2.el8                               AppStream                13 k
  31. mesa-libGL                i686              18.3.1-2.el8                            AppStream               240 k
  32. mesa-libglapi             i686              18.3.1-2.el8                            AppStream                71 k
  33. avahi-libs                i686              0.7-19.el8                              BaseOS                   67 k
  34. bzip2-libs                i686              1.0.6-26.el8                            BaseOS                   49 k
  35. cups-libs                 i686              1:2.2.6-25.el8                          BaseOS                  458 k
  36. dbus-libs                 i686              1:1.12.8-7.el8                          BaseOS                  198 k
  37. expat                     i686              2.2.5-3.el8                             BaseOS                  110 k
  38. freetype                  i686              2.9.1-4.el8                             BaseOS                  410 k
  39. gmp                       i686              1:6.1.2-8.el8                           BaseOS                  312 k
  40. gnutls                    i686              3.6.5-2.el8                             BaseOS                  918 k
  41. keyutils-libs             i686              1.5.10-6.el8                            BaseOS                   34 k
  42. krb5-libs                 i686              1.16.1-22.el8                           BaseOS                  906 k
  43. libblkid                  i686              2.32.1-8.el8                            BaseOS                  229 k
  44. libcap                    i686              2.25-9.el8                              BaseOS                   58 k
  45. libcom_err                i686              1.44.3-2.el8                            BaseOS                   48 k
  46. libffi                    i686              3.1-18.el8                              BaseOS                   35 k
  47. libgcrypt                 i686              1.8.3-2.el8                             BaseOS                  440 k
  48. libgpg-error              i686              1.31-1.el8                              BaseOS                  247 k
  49. libidn2                   i686              2.0.5-1.el8                             BaseOS                   91 k
  50. libmount                  i686              2.32.1-8.el8                            BaseOS                  243 k
  51. libnsl                    i686              2.28-42.el8                             BaseOS                   91 k
  52. libnsl                    x86_64            2.28-42.el8                             BaseOS                   87 k
  53. libpciaccess              i686              0.14-1.el8                              BaseOS                   35 k
  54. libpng                    i686              2:1.6.34-5.el8                          BaseOS                  136 k
  55. libselinux                i686              2.8-6.el8                               BaseOS                  186 k
  56. libsepol                  i686              2.8-2.el8                               BaseOS                  366 k
  57. libstdc++                 i686              8.2.1-3.5.el8                           BaseOS                  485 k
  58. libtasn1                  i686              4.13-3.el8                              BaseOS                   79 k
  59. libunistring              i686              0.9.9-3.el8                             BaseOS                  429 k
  60. libuuid                   i686              2.32.1-8.el8                            BaseOS                   94 k
  61. libverto                  i686              0.3.0-5.el8                             BaseOS                   25 k
  62. lz4-libs                  i686              1.8.1.2-4.el8                           BaseOS                   57 k
  63. nettle                    i686              3.4.1-1.el8                             BaseOS                  322 k
  64. openssl-libs              i686              1:1.1.1-8.el8                           BaseOS                  1.4 M
  65. p11-kit                   i686              0.23.14-4.el8                           BaseOS                  271 k
  66. pcre2                     i686              10.32-1.el8                             BaseOS                  246 k
  67. systemd-libs              i686              239-13.el8                              BaseOS                  581 k
  68. xz-libs                   i686              5.2.4-3.el8                             BaseOS                  102 k
  69. zlib                      i686              1.2.11-10.el8                           BaseOS                  103 k
  70. Installing weak dependencies:
  71. openssl-pkcs11            i686              0.4.8-2.el8                             BaseOS                   68 k

  72. Transaction Summary
  73. ===================================================================================================================
  74. Install  59 Packages

  75. Total size: 227 M
  76. Total download size: 12 M
  77. Installed size: 610 M
  78. Is this ok [y/N]: y
  79. Downloading Packages:
  80. (1/58): libSM-1.2.3-1.el8.i686.rpm                                                 1.2 MB/s |  48 kB     00:00   
  81. (2/58): libX11-xcb-1.6.7-1.el8.i686.rpm                                            973 kB/s |  14 kB     00:00   
  82. (3/58): libICE-1.0.9-13.el8.i686.rpm                                               1.2 MB/s |  76 kB     00:00   
  83. (4/58): libXau-1.0.8-13.el8.i686.rpm                                               1.4 MB/s |  36 kB     00:00   
  84. (5/58): libXcursor-1.1.15-3.el8.i686.rpm                                           1.1 MB/s |  38 kB     00:00   
  85. (6/58): libXdamage-1.1.4-14.el8.i686.rpm                                           2.2 MB/s |  27 kB     00:00   
  86. (7/58): libXext-1.3.3-9.el8.i686.rpm                                               2.9 MB/s |  48 kB     00:00   
  87. (8/58): libXfixes-5.0.3-7.el8.i686.rpm                                             924 kB/s |  25 kB     00:00   
  88. (9/58): libXi-1.7.9-7.el8.i686.rpm                                                 1.2 MB/s |  51 kB     00:00   
  89. (10/58): libX11-1.6.7-1.el8.i686.rpm                                               3.5 MB/s | 640 kB     00:00   
  90. (11/58): libXrandr-1.5.1-7.el8.i686.rpm                                            1.1 MB/s |  35 kB     00:00   
  91. (12/58): libXrender-0.9.10-7.el8.i686.rpm                                          1.2 MB/s |  34 kB     00:00   
  92. (13/58): libXxf86vm-1.1.4-9.el8.i686.rpm                                           679 kB/s |  20 kB     00:00   
  93. (14/58): libdrm-2.4.96-2.el8.i686.rpm                                              3.8 MB/s | 177 kB     00:00   
  94. (15/58): libglvnd-1.0.1-0.9.git5baa1e5.el8.i686.rpm                                2.7 MB/s |  89 kB     00:00   
  95. (16/58): libglvnd-glx-1.0.1-0.9.git5baa1e5.el8.i686.rpm                            2.3 MB/s | 126 kB     00:00   
  96. (17/58): libxshmfence-1.3-2.el8.i686.rpm                                           504 kB/s |  13 kB     00:00   
  97. (18/58): libxcb-1.13-5.el8.i686.rpm                                                3.9 MB/s | 249 kB     00:00   
  98. (19/58): mesa-libglapi-18.3.1-2.el8.i686.rpm                                       1.8 MB/s |  71 kB     00:00   
  99. (20/58): avahi-libs-0.7-19.el8.i686.rpm                                            1.8 MB/s |  67 kB     00:00   
  100. (21/58): bzip2-libs-1.0.6-26.el8.i686.rpm                                          1.1 MB/s |  49 kB     00:00   
  101. (22/58): mesa-libGL-18.3.1-2.el8.i686.rpm                                          2.0 MB/s | 240 kB     00:00   
  102. (23/58): expat-2.2.5-3.el8.i686.rpm                                                4.2 MB/s | 110 kB     00:00   
  103. (24/58): dbus-libs-1.12.8-7.el8.i686.rpm                                           3.5 MB/s | 198 kB     00:00   
  104. (25/58): cups-libs-2.2.6-25.el8.i686.rpm                                           3.2 MB/s | 458 kB     00:00   
  105. (26/58): gmp-6.1.2-8.el8.i686.rpm                                                  3.6 MB/s | 312 kB     00:00   
  106. (27/58): keyutils-libs-1.5.10-6.el8.i686.rpm                                       1.7 MB/s |  34 kB     00:00   
  107. (28/58): freetype-2.9.1-4.el8.i686.rpm                                             2.3 MB/s | 410 kB     00:00   
  108. (29/58): libblkid-2.32.1-8.el8.i686.rpm                                            3.2 MB/s | 229 kB     00:00   
  109. (30/58): libcap-2.25-9.el8.i686.rpm                                                7.8 MB/s |  58 kB     00:00   
  110. (31/58): libcom_err-1.44.3-2.el8.i686.rpm                                          5.6 MB/s |  48 kB     00:00   
  111. (32/58): gnutls-3.6.5-2.el8.i686.rpm                                               4.6 MB/s | 918 kB     00:00   
  112. (33/58): libffi-3.1-18.el8.i686.rpm                                                1.2 MB/s |  35 kB     00:00   
  113. (34/58): krb5-libs-1.16.1-22.el8.i686.rpm                                          4.9 MB/s | 906 kB     00:00   
  114. (35/58): libidn2-2.0.5-1.el8.i686.rpm                                              4.2 MB/s |  91 kB     00:00   
  115. (36/58): libgpg-error-1.31-1.el8.i686.rpm                                          3.5 MB/s | 247 kB     00:00   
  116. (37/58): libgcrypt-1.8.3-2.el8.i686.rpm                                            4.1 MB/s | 440 kB     00:00   
  117. (38/58): libnsl-2.28-42.el8.i686.rpm                                               3.1 MB/s |  91 kB     00:00   
  118. (39/58): libpciaccess-0.14-1.el8.i686.rpm                                          2.4 MB/s |  35 kB     00:00   
  119. (40/58): libnsl-2.28-42.el8.x86_64.rpm                                             1.9 MB/s |  87 kB     00:00   
  120. (41/58): libmount-2.32.1-8.el8.i686.rpm                                            2.6 MB/s | 243 kB     00:00   
  121. (42/58): libpng-1.6.34-5.el8.i686.rpm                                              3.9 MB/s | 136 kB     00:00   
  122. (43/58): libselinux-2.8-6.el8.i686.rpm                                             2.3 MB/s | 186 kB     00:00   
  123. (44/58): libtasn1-4.13-3.el8.i686.rpm                                              4.0 MB/s |  79 kB     00:00   
  124. (45/58): libsepol-2.8-2.el8.i686.rpm                                               2.7 MB/s | 366 kB     00:00   
  125. (46/58): libuuid-2.32.1-8.el8.i686.rpm                                             5.5 MB/s |  94 kB     00:00   
  126. (47/58): libstdc++-8.2.1-3.5.el8.i686.rpm                                          3.1 MB/s | 485 kB     00:00   
  127. (48/58): libverto-0.3.0-5.el8.i686.rpm                                             1.0 MB/s |  25 kB     00:00   
  128. (49/58): lz4-libs-1.8.1.2-4.el8.i686.rpm                                           882 kB/s |  57 kB     00:00   
  129. (50/58): libunistring-0.9.9-3.el8.i686.rpm                                         2.6 MB/s | 429 kB     00:00   
  130. (51/58): openssl-pkcs11-0.4.8-2.el8.i686.rpm                                       3.1 MB/s |  68 kB     00:00   
  131. (52/58): nettle-3.4.1-1.el8.i686.rpm                                               3.1 MB/s | 322 kB     00:00   
  132. (53/58): pcre2-10.32-1.el8.i686.rpm                                                3.2 MB/s | 246 kB     00:00   
  133. (54/58): p11-kit-0.23.14-4.el8.i686.rpm                                            2.9 MB/s | 271 kB     00:00   
  134. (55/58): xz-libs-5.2.4-3.el8.i686.rpm                                              4.0 MB/s | 102 kB     00:00   
  135. (56/58): zlib-1.2.11-10.el8.i686.rpm                                               4.9 MB/s | 103 kB     00:00   
  136. (57/58): systemd-libs-239-13.el8.i686.rpm                                          6.3 MB/s | 581 kB     00:00   
  137. (58/58): openssl-libs-1.1.1-8.el8.i686.rpm                                         5.8 MB/s | 1.4 MB     00:00   
  138. -------------------------------------------------------------------------------------------------------------------
  139. Total                                                                              8.5 MB/s |  12 MB     00:01     
  140. Running transaction check
  141. Transaction check succeeded.
  142. Running transaction test
  143. Transaction test succeeded.
  144. Running transaction
  145.   Preparing        :                                                                                           1/1
  146.   Installing       : zlib-1.2.11-10.el8.i686                                                                  1/59
  147.   Installing       : libuuid-2.32.1-8.el8.i686                                                                2/59
  148.   Running scriptlet: libuuid-2.32.1-8.el8.i686                                                                2/59
  149.   Installing       : openssl-pkcs11-0.4.8-2.el8.i686                                                          3/59
  150.   Running scriptlet: openssl-pkcs11-0.4.8-2.el8.i686                                                          3/59
  151.   Installing       : openssl-libs-1:1.1.1-8.el8.i686                                                          4/59
  152.   Running scriptlet: openssl-libs-1:1.1.1-8.el8.i686                                                          4/59
  153.   Installing       : libunistring-0.9.9-3.el8.i686                                                            5/59
  154.   Installing       : libcom_err-1.44.3-2.el8.i686                                                             6/59
  155.   Running scriptlet: libcom_err-1.44.3-2.el8.i686                                                             6/59
  156.   Installing       : gmp-1:6.1.2-8.el8.i686                                                                   7/59
  157.   Running scriptlet: gmp-1:6.1.2-8.el8.i686                                                                   7/59
  158.   Installing       : libICE-1.0.9-13.el8.i686                                                                 8/59
  159.   Installing       : libSM-1.2.3-1.el8.i686                                                                   9/59
  160.   Installing       : nettle-3.4.1-1.el8.i686                                                                 10/59
  161.   Running scriptlet: nettle-3.4.1-1.el8.i686                                                                 10/59
  162.   Installing       : libidn2-2.0.5-1.el8.i686                                                                11/59
  163.   Running scriptlet: libidn2-2.0.5-1.el8.i686                                                                11/59
  164.   Installing       : libblkid-2.32.1-8.el8.i686                                                              12/59
  165.   Running scriptlet: libblkid-2.32.1-8.el8.i686                                                              12/59
  166.   Installing       : libpng-2:1.6.34-5.el8.i686                                                              13/59
  167.   Installing       : xz-libs-5.2.4-3.el8.i686                                                                14/59
  168.   Installing       : pcre2-10.32-1.el8.i686                                                                  15/59
  169.   Installing       : lz4-libs-1.8.1.2-4.el8.i686                                                             16/59
  170.   Installing       : libverto-0.3.0-5.el8.i686                                                               17/59
  171.   Installing       : libtasn1-4.13-3.el8.i686                                                                18/59
  172.   Running scriptlet: libtasn1-4.13-3.el8.i686                                                                18/59
  173.   Installing       : libstdc++-8.2.1-3.5.el8.i686                                                            19/59
  174.   Running scriptlet: libstdc++-8.2.1-3.5.el8.i686                                                            19/59
  175.   Installing       : libsepol-2.8-2.el8.i686                                                                 20/59
  176.   Running scriptlet: libsepol-2.8-2.el8.i686                                                                 20/59
  177.   Installing       : libselinux-2.8-6.el8.i686                                                               21/59
  178.   Running scriptlet: libselinux-2.8-6.el8.i686                                                               21/59
  179.   Installing       : mesa-libglapi-18.3.1-2.el8.i686                                                         22/59
  180.   Running scriptlet: mesa-libglapi-18.3.1-2.el8.i686                                                         22/59
  181.   Installing       : libmount-2.32.1-8.el8.i686                                                              23/59
  182.   Running scriptlet: libmount-2.32.1-8.el8.i686                                                              23/59
  183.   Installing       : libpciaccess-0.14-1.el8.i686                                                            24/59
  184.   Installing       : libdrm-2.4.96-2.el8.i686                                                                25/59
  185.   Installing       : libnsl-2.28-42.el8.i686                                                                 26/59
  186.   Installing       : libgpg-error-1.31-1.el8.i686                                                            27/59
  187.   Installing       : libgcrypt-1.8.3-2.el8.i686                                                              28/59
  188.   Running scriptlet: libgcrypt-1.8.3-2.el8.i686                                                              28/59
  189.   Installing       : libffi-3.1-18.el8.i686                                                                  29/59
  190.   Installing       : p11-kit-0.23.14-4.el8.i686                                                              30/59
  191.   Running scriptlet: p11-kit-0.23.14-4.el8.i686                                                              30/59
  192.   Installing       : gnutls-3.6.5-2.el8.i686                                                                 31/59
  193.   Installing       : libcap-2.25-9.el8.i686                                                                  32/59
  194.   Installing       : systemd-libs-239-13.el8.i686                                                            33/59
  195.   Running scriptlet: systemd-libs-239-13.el8.i686                                                            33/59
  196.   Installing       : dbus-libs-1:1.12.8-7.el8.i686                                                           34/59
  197.   Running scriptlet: dbus-libs-1:1.12.8-7.el8.i686                                                           34/59
  198.   Installing       : avahi-libs-0.7-19.el8.i686                                                              35/59
  199.   Installing       : keyutils-libs-1.5.10-6.el8.i686                                                         36/59
  200.   Installing       : krb5-libs-1.16.1-22.el8.i686                                                            37/59
  201.   Installing       : cups-libs-1:2.2.6-25.el8.i686                                                           38/59
  202.   Installing       : expat-2.2.5-3.el8.i686                                                                  39/59
  203.   Installing       : bzip2-libs-1.0.6-26.el8.i686                                                            40/59
  204.   Installing       : freetype-2.9.1-4.el8.i686                                                               41/59
  205.   Installing       : libxshmfence-1.3-2.el8.i686                                                             42/59
  206.   Installing       : libglvnd-1:1.0.1-0.9.git5baa1e5.el8.i686                                                43/59
  207.   Installing       : libXau-1.0.8-13.el8.i686                                                                44/59
  208.   Installing       : libxcb-1.13-5.el8.i686                                                                  45/59
  209.   Installing       : libX11-1.6.7-1.el8.i686                                                                 46/59
  210.   Installing       : libXext-1.3.3-9.el8.i686                                                                47/59
  211.   Installing       : libXfixes-5.0.3-7.el8.i686                                                              48/59
  212.   Installing       : libXrender-0.9.10-7.el8.i686                                                            49/59
  213.   Installing       : libXcursor-1.1.15-3.el8.i686                                                            50/59
  214.   Installing       : libXrandr-1.5.1-7.el8.i686                                                              51/59
  215.   Installing       : libXdamage-1.1.4-14.el8.i686                                                            52/59
  216.   Installing       : libXi-1.7.9-7.el8.i686                                                                  53/59
  217.   Installing       : libXxf86vm-1.1.4-9.el8.i686                                                             54/59
  218.   Installing       : libX11-xcb-1.6.7-1.el8.i686                                                             55/59
  219.   Installing       : libnsl-2.28-42.el8.x86_64                                                               56/59
  220.   Installing       : libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.i686                                            57/59
  221.   Installing       : mesa-libGL-18.3.1-2.el8.i686                                                            58/59
  222.   Running scriptlet: crossover-19.0.1-1.i386                                                                 59/59
  223.   Installing       : crossover-19.0.1-1.i386                                                                 59/59
  224.   Running scriptlet: crossover-19.0.1-1.i386                                                                 59/59
  225.   Verifying        : libICE-1.0.9-13.el8.i686                                                                 1/59
  226.   Verifying        : libSM-1.2.3-1.el8.i686                                                                   2/59
  227.   Verifying        : libX11-1.6.7-1.el8.i686                                                                  3/59
  228.   Verifying        : libX11-xcb-1.6.7-1.el8.i686                                                              4/59
  229.   Verifying        : libXau-1.0.8-13.el8.i686                                                                 5/59
  230.   Verifying        : libXcursor-1.1.15-3.el8.i686                                                             6/59
  231.   Verifying        : libXdamage-1.1.4-14.el8.i686                                                             7/59
  232.   Verifying        : libXext-1.3.3-9.el8.i686                                                                 8/59
  233.   Verifying        : libXfixes-5.0.3-7.el8.i686                                                               9/59
  234.   Verifying        : libXi-1.7.9-7.el8.i686                                                                  10/59
  235.   Verifying        : libXrandr-1.5.1-7.el8.i686                                                              11/59
  236.   Verifying        : libXrender-0.9.10-7.el8.i686                                                            12/59
  237.   Verifying        : libXxf86vm-1.1.4-9.el8.i686                                                             13/59
  238.   Verifying        : libdrm-2.4.96-2.el8.i686                                                                14/59
  239.   Verifying        : libglvnd-1:1.0.1-0.9.git5baa1e5.el8.i686                                                15/59
  240.   Verifying        : libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.i686                                            16/59
  241.   Verifying        : libxcb-1.13-5.el8.i686                                                                  17/59
  242.   Verifying        : libxshmfence-1.3-2.el8.i686                                                             18/59
  243.   Verifying        : mesa-libGL-18.3.1-2.el8.i686                                                            19/59
  244.   Verifying        : mesa-libglapi-18.3.1-2.el8.i686                                                         20/59
  245.   Verifying        : avahi-libs-0.7-19.el8.i686                                                              21/59
  246.   Verifying        : bzip2-libs-1.0.6-26.el8.i686                                                            22/59
  247.   Verifying        : cups-libs-1:2.2.6-25.el8.i686                                                           23/59
  248.   Verifying        : dbus-libs-1:1.12.8-7.el8.i686                                                           24/59
  249.   Verifying        : expat-2.2.5-3.el8.i686                                                                  25/59
  250.   Verifying        : freetype-2.9.1-4.el8.i686                                                               26/59
  251.   Verifying        : gmp-1:6.1.2-8.el8.i686                                                                  27/59
  252.   Verifying        : gnutls-3.6.5-2.el8.i686                                                                 28/59
  253.   Verifying        : keyutils-libs-1.5.10-6.el8.i686                                                         29/59
  254.   Verifying        : krb5-libs-1.16.1-22.el8.i686                                                            30/59
  255.   Verifying        : libblkid-2.32.1-8.el8.i686                                                              31/59
  256.   Verifying        : libcap-2.25-9.el8.i686                                                                  32/59
  257.   Verifying        : libcom_err-1.44.3-2.el8.i686                                                            33/59
  258.   Verifying        : libffi-3.1-18.el8.i686                                                                  34/59
  259.   Verifying        : libgcrypt-1.8.3-2.el8.i686                                                              35/59
  260.   Verifying        : libgpg-error-1.31-1.el8.i686                                                            36/59
  261.   Verifying        : libidn2-2.0.5-1.el8.i686                                                                37/59
  262.   Verifying        : libmount-2.32.1-8.el8.i686                                                              38/59
  263.   Verifying        : libnsl-2.28-42.el8.i686                                                                 39/59
  264.   Verifying        : libnsl-2.28-42.el8.x86_64                                                               40/59
  265.   Verifying        : libpciaccess-0.14-1.el8.i686                                                            41/59
  266.   Verifying        : libpng-2:1.6.34-5.el8.i686                                                              42/59
  267.   Verifying        : libselinux-2.8-6.el8.i686                                                               43/59
  268.   Verifying        : libsepol-2.8-2.el8.i686                                                                 44/59
  269.   Verifying        : libstdc++-8.2.1-3.5.el8.i686                                                            45/59
  270.   Verifying        : libtasn1-4.13-3.el8.i686                                                                46/59
  271.   Verifying        : libunistring-0.9.9-3.el8.i686                                                           47/59
  272.   Verifying        : libuuid-2.32.1-8.el8.i686                                                               48/59
  273.   Verifying        : libverto-0.3.0-5.el8.i686                                                               49/59
  274.   Verifying        : lz4-libs-1.8.1.2-4.el8.i686                                                             50/59
  275.   Verifying        : nettle-3.4.1-1.el8.i686                                                                 51/59
  276.   Verifying        : openssl-libs-1:1.1.1-8.el8.i686                                                         52/59
  277.   Verifying        : openssl-pkcs11-0.4.8-2.el8.i686                                                         53/59
  278.   Verifying        : p11-kit-0.23.14-4.el8.i686                                                              54/59
  279.   Verifying        : pcre2-10.32-1.el8.i686                                                                  55/59
  280.   Verifying        : systemd-libs-239-13.el8.i686                                                            56/59
  281.   Verifying        : xz-libs-5.2.4-3.el8.i686                                                                57/59
  282.   Verifying        : zlib-1.2.11-10.el8.i686                                                                 58/59
  283.   Verifying        : crossover-19.0.1-1.i386                                                                 59/59
  284. Installed products updated.

  285. Installed:
  286.   crossover-19.0.1-1.i386                                openssl-pkcs11-0.4.8-2.el8.i686                           
  287.   libICE-1.0.9-13.el8.i686                               libSM-1.2.3-1.el8.i686                                    
  288.   libX11-1.6.7-1.el8.i686                                libX11-xcb-1.6.7-1.el8.i686                              
  289.   libXau-1.0.8-13.el8.i686                               libXcursor-1.1.15-3.el8.i686                              
  290.   libXdamage-1.1.4-14.el8.i686                           libXext-1.3.3-9.el8.i686                                 
  291.   libXfixes-5.0.3-7.el8.i686                             libXi-1.7.9-7.el8.i686                                    
  292.   libXrandr-1.5.1-7.el8.i686                             libXrender-0.9.10-7.el8.i686                              
  293.   libXxf86vm-1.1.4-9.el8.i686                            libdrm-2.4.96-2.el8.i686                                 
  294.   libglvnd-1:1.0.1-0.9.git5baa1e5.el8.i686               libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.i686              
  295.   libxcb-1.13-5.el8.i686                                 libxshmfence-1.3-2.el8.i686                              
  296.   mesa-libGL-18.3.1-2.el8.i686                           mesa-libglapi-18.3.1-2.el8.i686                           
  297.   avahi-libs-0.7-19.el8.i686                             bzip2-libs-1.0.6-26.el8.i686                              
  298.   cups-libs-1:2.2.6-25.el8.i686                          dbus-libs-1:1.12.8-7.el8.i686                             
  299.   expat-2.2.5-3.el8.i686                                 freetype-2.9.1-4.el8.i686                                 
  300.   gmp-1:6.1.2-8.el8.i686                                 gnutls-3.6.5-2.el8.i686                                   
  301.   keyutils-libs-1.5.10-6.el8.i686                        krb5-libs-1.16.1-22.el8.i686                              
  302.   libblkid-2.32.1-8.el8.i686                             libcap-2.25-9.el8.i686                                    
  303.   libcom_err-1.44.3-2.el8.i686                           libffi-3.1-18.el8.i686                                    
  304.   libgcrypt-1.8.3-2.el8.i686                             libgpg-error-1.31-1.el8.i686                              
  305.   libidn2-2.0.5-1.el8.i686                               libmount-2.32.1-8.el8.i686                                
  306.   libnsl-2.28-42.el8.i686                                libnsl-2.28-42.el8.x86_64                                 
  307.   libpciaccess-0.14-1.el8.i686                           libpng-2:1.6.34-5.el8.i686                                
  308.   libselinux-2.8-6.el8.i686                              libsepol-2.8-2.el8.i686                                   
  309.   libstdc++-8.2.1-3.5.el8.i686                           libtasn1-4.13-3.el8.i686                                 
  310.   libunistring-0.9.9-3.el8.i686                          libuuid-2.32.1-8.el8.i686                                 
  311.   libverto-0.3.0-5.el8.i686                              lz4-libs-1.8.1.2-4.el8.i686                              
  312.   nettle-3.4.1-1.el8.i686                                openssl-libs-1:1.1.1-8.el8.i686                           
  313.   p11-kit-0.23.14-4.el8.i686                             pcre2-10.32-1.el8.i686                                    
  314.   systemd-libs-239-13.el8.i686                           xz-libs-5.2.4-3.el8.i686                                 
  315.   zlib-1.2.11-10.el8.i686                              

  316. Complete!
  317. [root@server5 ~]#
复制代码
  1. yum -y install fontconfig.i686  fontconfig.x86_64  libXcomposite.i686  libXcomposite.x86_64  libXinerama.i686  libXinerama.x86_64  libtiff.i686  libtiff.x86_64  libxml2.i686  libxml2.x86_64  libxslt.i686  libxslt.x86_64  mesa-libGLU.i686  mesa-libGLU.x86_64  pulseaudio-libs.i686  pulseaudio-libs.x86_64  sane-backends-libs.i686  sane-backends-libs.x86_64
复制代码



2. Docker容器管理者
2.1
  1. wget https://download.docker.com/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo
复制代码
  1. [root@server4 DOCKER]# docker image ls
  2. REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  3. hello_world         latest              673178c29db1        4 hours ago         378MB
  4. php                 7.3.5-apache        59d2cf691156        10 months ago       378MB
  5. hello-world         latest              fce289e99eb9        15 months ago       1.84kB
  6. [root@server4 DOCKER]# docker image  -h
  7. Flag shorthand -h has been deprecated, please use --help

  8. Usage:  docker image COMMAND

  9. Manage images

  10. Commands:
  11.   build       Build an image from a Dockerfile
  12.   history     Show the history of an image
  13.   import      Import the contents from a tarball to create a filesystem image
  14.   inspect     Display detailed information on one or more images
  15.   load        Load an image from a tar archive or STDIN
  16.   ls          List images
  17.   prune       Remove unused images
  18.   pull        Pull an image or a repository from a registry
  19.   push        Push an image or a repository to a registry
  20.   rm          Remove one or more images
  21.   save        Save one or more images to a tar archive (streamed to STDOUT by default)
  22.   tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

  23. Run 'docker image COMMAND --help' for more information on a command.
  24. [root@server4 DOCKER]# docker image rm 673178c29db1
  25. Error response from daemon: conflict: unable to delete 673178c29db1 (must be forced) - image is being used by stopped container c9616db59090
  26. [root@server4 DOCKER]# docker image rm 673178c29db1 -f
  27. Untagged: hello_world:latest
  28. Deleted: sha256:673178c29db1601e7125b2ad54263c645ceb9d841b719bc62f2407b422540e28
  29. Deleted: sha256:c8028948f0cf6eaf014baa7a46d7eb373c3f4c920aa7b5d950838478cfc4cf05
  30. [root@server4 DOCKER]# docker image  ls
  31. REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  32. php                 7.3.5-apache        59d2cf691156        10 months ago       378MB
  33. hello-world         latest              fce289e99eb9        15 months ago       1.84kB
  34. [root@server4 DOCKER]# docker image rm  fce289e99eb9   -f
  35. Untagged: hello-world:latest
  36. Untagged: hello-world@sha256:f9dfddf63636d84ef479d645ab5885156ae030f611a56f3a7ac7f2fdd86d7e4e
  37. Deleted: sha256:fce289e99eb9bca977dae136fbe2a82b6b7d4c372474c9235adc1741675f587e
  38. [root@server4 DOCKER]# ls
  39. Dockerfile  src
  40. [root@server4 DOCKER]# cd ..
  41. [root@server4 ~]# ls
  42. anaconda-ks.cfg  Downloads                              oracle-rhel8.sh  Public          Templates
  43. Desktop          flash-player-npapi-release.x86_64.rpm  original-ks.cfg  team0.config    Videos
  44. DOCKER           MARIADB                                Pictures         team0.config.m
  45. Documents        Music                                  ping104.sh       team0.config.n
  46. [root@server4 ~]# mv DOCKER  php_hello_world
  47. [root@server4 ~]# ls
  48. anaconda-ks.cfg  flash-player-npapi-release.x86_64.rpm  original-ks.cfg  Public          Templates
  49. Desktop          MARIADB                                php_hello_world  team0.config    Videos
  50. Documents        Music                                  Pictures         team0.config.m
  51. Downloads        oracle-rhel8.sh                        ping104.sh       team0.config.n
  52. [root@server4 ~]# cd php_hello_world/
  53. [root@server4 php_hello_world]# ls
  54. Dockerfile  src
  55. [root@server4 php_hello_world]# docker image ls
  56. REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  57. php                 7.3.5-apache        59d2cf691156        10 months ago       378MB
  58. [root@server4 php_hello_world]# docker build -t php_hello_world  ./
  59. Sending build context to Docker daemon  3.584kB
  60. Step 1/3 : FROM php:7.3.5-apache
  61. ---> 59d2cf691156
  62. Step 2/3 : COPY src/ /var/www/html
  63. ---> fa60cf253f21
  64. Step 3/3 : EXPOSE 80
  65. ---> Running in 35072761e276
  66. Removing intermediate container 35072761e276
  67. ---> d7a85e3bd67c
  68. Successfully built d7a85e3bd67c
  69. Successfully tagged php_hello_world:latest
  70. [root@server4 php_hello_world]# docker image ls
  71. REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  72. php_hello_world     latest              d7a85e3bd67c        5 seconds ago       378MB
  73. php                 7.3.5-apache        59d2cf691156        10 months ago       378MB
  74. [root@server4 php_hello_world]# docker container  ls
  75. CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
  76. [root@server4 php_hello_world]# docker run -p 9999:80   php_hello_world
  77. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
  78. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
  79. [Mon Mar 30 14:42:45.795590 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.5 configured -- resuming normal operations
  80. [Mon Mar 30 14:42:45.796428 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
复制代码
  1. [root@server4 src]# docker container ls
  2. CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                  NAMES
  3. 5dc025bd76a7        php_hello_world     "docker-php-entrypoi…"   2 minutes ago       Up 2 minutes        0.0.0.0:9999->80/tcp   boring_keldysh
  4. [root@server4 src]# docker container stop 5dc025bd76a7
  5. 5dc025bd76a7
  6. [root@server4 src]# docker container ls
  7. CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
复制代码
  1. docker run -p 9999:80 -v /root/php_hello_world/src/:/var/www/html/   php_hello_world
复制代码




回复

使用道具 举报

7

主题

29

帖子

117

积分

注册会员

Rank: 2

积分
117
发表于 2020-3-30 21:22:12 | 显示全部楼层
  1. [root@server6 ~]# yum install "*docker*" -y --nobest
  2. Failed to set locale, defaulting to C
  3. Updating Subscription Management repositories.
  4. Unable to read consumer identity
  5. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  6. Last metadata expiration check: 0:07:07 ago on Tue Mar 31 05:21:41 2020.
  7. Error:
  8. Problem: conflicting requests
  9.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.06.0.ce-1.el7.centos.x86_64
  10.   - package docker-ce-17.06.0.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  11.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.06.1.ce-1.el7.centos.x86_64
  12.   - package docker-ce-17.06.1.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  13.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.06.2.ce-1.el7.centos.x86_64
  14.   - package docker-ce-17.06.2.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  15.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.09.0.ce-1.el7.centos.x86_64
  16.   - package docker-ce-17.09.0.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  17.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.09.1.ce-1.el7.centos.x86_64
  18.   - package docker-ce-17.09.1.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  19.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.12.0.ce-1.el7.centos.x86_64
  20.   - package docker-ce-17.12.0.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  21.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-17.12.1.ce-1.el7.centos.x86_64
  22.   - package docker-ce-17.12.1.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  23.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.03.0.ce-1.el7.centos.x86_64
  24.   - package docker-ce-18.03.0.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  25.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.03.1.ce-1.el7.centos.x86_64
  26.   - package docker-ce-18.03.1.ce-1.el7.centos.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  27.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.06.0.ce-3.el7.x86_64
  28.   - package docker-ce-18.06.0.ce-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  29.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.06.1.ce-3.el7.x86_64
  30.   - package docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  31.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.06.2.ce-3.el7.x86_64
  32.   - package docker-ce-18.06.2.ce-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  33.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-18.06.3.ce-3.el7.x86_64
  34.   - package docker-ce-18.06.3.ce-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  35.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-3:18.09.0-3.el7.x86_64
  36.   - package docker-ce-3:18.09.0-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  37.   - package podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch conflicts with docker-ce provided by docker-ce-3:18.09.1-3.el7.x86_64
  38.   - package docker-ce-3:18.09.1-3.el7.x86_64 conflicts with docker provided by podman-docker-1.0.0-2.git921f98f.module+el8+2785+ff8a053f.noarch
  39.   - package docker-ce-3:18.09.2-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  40.   - package docker-ce-3:18.09.3-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  41.   - package docker-ce-3:18.09.4-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  42.   - package docker-ce-3:18.09.5-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  43.   - package docker-ce-3:18.09.6-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  44.   - package docker-ce-3:18.09.7-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  45.   - package docker-ce-3:18.09.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  46.   - package docker-ce-3:18.09.9-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  47.   - package docker-ce-3:19.03.0-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  48.   - package docker-ce-3:19.03.1-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  49.   - package docker-ce-3:19.03.2-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  50.   - package docker-ce-3:19.03.3-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  51.   - package docker-ce-3:19.03.4-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  52.   - package docker-ce-3:19.03.5-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  53.   - package docker-ce-3:19.03.6-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  54.   - package docker-ce-3:19.03.7-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  55.   - package docker-ce-3:19.03.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  56.   - package docker-ce-17.03.0.ce-1.el7.centos.x86_64 requires docker-ce-selinux >= 17.03.0.ce-1.el7.centos, but none of the providers can be installed
  57.   - package docker-ce-17.03.1.ce-1.el7.centos.x86_64 requires docker-ce-selinux >= 17.03.1.ce-1.el7.centos, but none of the providers can be installed
  58.   - package docker-ce-17.03.2.ce-1.el7.centos.x86_64 requires docker-ce-selinux >= 17.03.2.ce-1.el7.centos, but none of the providers can be installed
  59.   - package docker-ce-17.03.3.ce-1.el7.x86_64 requires docker-ce-selinux >= 17.03.3.ce-1.el7, but none of the providers can be installed
  60.   - package containerd.io-1.2.10-3.2.el7.x86_64 is excluded
  61.   - package containerd.io-1.2.13-3.1.el7.x86_64 is excluded
  62.   - package containerd.io-1.2.2-3.3.el7.x86_64 is excluded
  63.   - package containerd.io-1.2.2-3.el7.x86_64 is excluded
  64.   - package containerd.io-1.2.4-3.1.el7.x86_64 is excluded
  65.   - package containerd.io-1.2.5-3.1.el7.x86_64 is excluded
  66.   - package containerd.io-1.2.6-3.3.el7.x86_64 is excluded
  67.   - nothing provides policycoreutils-python needed by docker-ce-selinux-17.03.0.ce-1.el7.centos.noarch
  68.   - nothing provides policycoreutils-python needed by docker-ce-selinux-17.03.1.ce-1.el7.centos.noarch
  69.   - nothing provides policycoreutils-python needed by docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch
  70.   - nothing provides policycoreutils-python needed by docker-ce-selinux-17.03.3.ce-1.el7.noarch
  71. (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
复制代码
回复 支持 反对

使用道具 举报

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
 楼主| 发表于 2020-3-31 11:42:56 | 显示全部楼层
  1. yum -y install docker-ce --nobest
复制代码


以上不需要额外dnf源,不过附加常用的dnf repo如下:
yum.repos.d.zip (3.95 KB, 下载次数: 29)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-10 02:39 , Processed in 0.041452 second(s), 27 queries .

快速回复 返回顶部 返回列表