2022年2月

一、代码如下

import turtle as t
import math

# 设置速度
t.speed(100)  # 速度
t.delay(10)  # 延迟
# turtle.tracer(False)
# 双耳
# 左耳
t.penup()
t.goto(-150, 200)
t.setheading(160)
t.begin_fill()
t.pendown()
t.circle(-30, 230)
t.setheading(180)
t.circle(37, 90)
t.end_fill()
# 右耳
t.penup()
t.goto(60, 200)
t.setheading(20)
t.begin_fill()
t.pendown()
t.circle(30, 230)
t.setheading(0)
t.circle(-37, 90)
t.end_fill()
# 头
t.pensize(5)
t.penup()
t.goto(-113, 237)
t.setheading(30)
t.pendown()
t.circle(-134, 60)

t.penup()
t.goto(-150, 200)
t.setheading(-120)
t.pendown()
t.circle(200, 80)

t.penup()
t.goto(60, 200)
t.setheading(-60)
t.pendown()
t.circle(-200, 80)

t.penup()
t.setheading(210)
t.pendown()
t.circle(-120, 60)
# 双眼
# 左眼
# 眼圈
t.penup()
t.goto(-140, 100)
t.setheading(-45)
t.begin_fill()
t.pendown()
a = 0.2
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.1
        t.lt(3)  # 向左转3度
        t.fd(a)  # 向前走a的步长
    else:
        a = a - 0.1
        t.lt(3)
        t.fd(a)
t.end_fill()
# 眼白
t.fillcolor("white")
t.penup()
t.goto(-103, 125)
t.setheading(0)
t.begin_fill()
t.pendown()
t.circle(13, 360)
t.end_fill()
# 眼珠
t.fillcolor("sienna")
t.pencolor("sienna")
t.penup()
t.goto(-102, 133)
t.setheading(0)
t.begin_fill()
t.pendown()
t.circle(5, 360)
t.end_fill()
# 右眼
# 眼圈
t.penup()
t.goto(50, 100)
t.setheading(45)
t.fillcolor("black")
t.pencolor("black")
t.begin_fill()
t.pendown()
a = 0.2
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.1
        t.lt(3)  # 向左转3度
        t.fd(a)  # 向前走a的步长
    else:
        a = a - 0.1
        t.lt(3)
        t.fd(a)
t.end_fill()
# 眼白
t.fillcolor("white")
t.penup()
t.goto(13, 125)
t.setheading(0)
t.begin_fill()
t.pendown()
t.circle(13, 360)
t.end_fill()
# 眼珠
t.fillcolor("sienna")
t.pencolor("sienna")
t.penup()
t.goto(12, 133)
t.setheading(0)
t.begin_fill()
t.pendown()
t.circle(5, 360)
t.end_fill()
# 鼻子
t.pencolor("black")
t.fillcolor("black")
t.penup()
t.goto(-55, 133)
t.begin_fill()
t.pendown()
t.fd(20)
t.seth(-120)
t.fd(20)
t.seth(120)
t.fd(20)
t.end_fill()
# 嘴
t.penup()
t.goto(-70, 110)
t.setheading(-30)
t.fillcolor("red")
t.begin_fill()
t.pendown()
t.circle(50, 60)
t.setheading(-120)
t.circle(-100, 15)
t.circle(-15, 90)
t.circle(-100, 15)
t.end_fill()
# 四肢
# 左臂
t.penup()
t.goto(-175, 100)
t.fillcolor("black")
t.begin_fill()
t.setheading(-120)
t.pendown()
t.fd(100)
t.setheading(-110)
t.circle(20, 180)
t.fd(30)
t.circle(-5, 160)
t.end_fill()
# 右臂
t.penup()
t.goto(85, 100)
t.setheading(60)
t.begin_fill()
t.pendown()
t.fd(100)
t.setheading(70)
t.circle(20, 180)
t.fd(30)
t.circle(-5, 160)
t.end_fill()
# 小红心
t.penup()
t.pencolor("red")
t.fillcolor('red')
t.goto(105, 200)
t.begin_fill()
t.pendown()
t.circle(-5, 180)
t.setheading(90)
t.circle(-5, 180)
t.setheading(-120)
t.fd(17)
t.penup()
t.goto(105, 200)
t.pendown()
t.setheading(-60)
t.fd(17)
t.end_fill()
t.pencolor("black")
t.fillcolor("black")
# 左腿
t.penup()
t.goto(-120, -45)
t.begin_fill()
t.pendown()
t.setheading(-90)
t.circle(-140, 20)
t.circle(5, 109)
t.fd(30)
t.circle(10, 120)
t.setheading(90)
t.circle(-140, 10)
t.end_fill()
# 右腿
t.penup()
t.goto(30, -45)
t.begin_fill()
t.pendown()
t.setheading(-90)
t.circle(140, 20)
t.circle(-5, 109)
t.fd(30)
t.circle(-10, 120)
t.setheading(90)
t.circle(140, 10)
t.end_fill()
# 冰糖外壳
t.pensize(1)
t.penup()
t.goto(-160, 195)
t.setheading(160)
t.pendown()
t.circle(-40, 230)
t.setheading(30)
t.circle(-134, 58)
t.setheading(60)
t.circle(-40, 215)
t.setheading(-60)
t.fd(15)
t.circle(2, 200)
t.setheading(65)
t.fd(30)
t.circle(-25, 180)
t.fd(100)
t.circle(2, 25)
t.circle(-200, 47)
t.circle(2, 60)
t.circle(140, 23)
t.circle(-2, 90)
t.setheading(180)
t.fd(70)
t.circle(-2, 90)
t.fd(30)
t.setheading(-160)
t.circle(-100, 35)
t.setheading(-90)
t.fd(30)
t.circle(-2, 90)
t.fd(70)
t.circle(-2, 90)
t.setheading(60)
t.circle(140, 30)
t.circle(2, 45)
t.circle(-200, 19)
t.circle(2, 130)
t.fd(30)
t.circle(-25, 180)
t.fd(100)
t.setheading(90)
t.circle(-200, 30)
# 冰糖面罩
t.pensize(3)
t.penup()
t.goto(65, 120)
t.setheading(90)
t.pendown()
t.pencolor("red")
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:  # 控制a的变化
        a = a + 0.25
        t.lt(3)  # 向左转3度
        t.fd(a)  # 向前走a的步长
    else:
        a = a - 0.25
        t.lt(3)
        t.fd(a)
t.pencolor("orange")
t.penup()
t.goto(66, 120)
t.pendown()
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.255
        t.lt(3)
        t.fd(a)
    else:
        a = a - 0.255
        t.lt(3)
        t.fd(a)
t.pencolor("green")
t.penup()
t.goto(67, 120)
t.pendown()
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.2555
        t.lt(3)
        t.fd(a)
    else:
        a = a - 0.2555
        t.lt(3)
        t.fd(a)
t.pencolor("deep sky blue")
t.penup()
t.goto(68, 120)
t.pendown()
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.25955
        t.lt(3)
        t.fd(a)
    else:
        a = a - 0.25955
        t.lt(3)
        t.fd(a)
t.pencolor("pink")
t.penup()
t.goto(71, 120)
t.pendown()
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.26
        t.lt(3)
        t.fd(a)
    else:
        a = a - 0.26
        t.lt(3)
        t.fd(a)
t.pencolor("purple")
t.penup()
t.goto(72, 120)
t.pendown()
a = 1
for i in range(120):
    if 0 <= i < 30 or 60 <= i < 90:
        a = a + 0.269
        t.lt(3)
        t.fd(a)
    else:
        a = a - 0.269
        t.lt(3)
        t.fd(a)

# 五环
t.penup()
t.goto(-55, -10)
t.pendown()
t.pencolor("blue")
t.circle(10)
t.penup()
t.goto(-40, -10)
t.pendown()
t.pencolor("black")
t.circle(10)
t.penup()
t.goto(-25, -10)
t.pendown()
t.pencolor("red")
t.circle(10)
t.penup()
t.goto(-50, -20)
t.pendown()
t.pencolor("yellow")
t.circle(10)
t.penup()
t.goto(-30, -20)
t.pendown()
t.pencolor("green")
t.circle(10)

t.done()

二、一键执行文件

有些同学不会使用Python。我在这里打包了exe程序文件,双击执行即可。
下载地址:冰墩墩一键执行文件

文章地址:查看原文

一、服务器部署宝塔面板

二、安装源代码

下载地址: V1.0

三、修改代码

为了防止抓拍的照片被清除覆盖,需要修改源代码

注释掉11行代码
// echo '确定清空所有照片?<br /><br />';

注释掉41行代码
//echo "<a href=?page=$page&id=$id&type=del>清空所有照片</a> <br /><br />";

四、部署完成

(官方)体验地址:猪头官方
(本站)体验地址:本站官方

说明:猪头官方地址使用者较多,个人测试数据不一定安全。本站官网服务器数据独立可靠,安全系数高。请读者自行判定使用哪种渠道测试。

游戏体验地址:人生重开模拟器

一、安装GIT工具

上文已经记录了Centos8安装Git的完整过程,这里不再赘述。

二、下载源代码

代码地址:人生重开模拟器

[root@C20210805207038 home]# git clone https://github.com/AliyunWorkbench/lifeRestart.git

正克隆到 'lifeRestart'...
remote: Enumerating objects: 112, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 112 (delta 20), reused 10 (delta 10), pack-reused 62
接收对象中: 100% (112/112), 791.09 KiB | 4.82 MiB/s, 完成.
处理 delta 中: 100% (31/31), 完成.

三、安装npm

[root@C20210805207038 lifeRestart]# sudo yum module install nodejs

上次元数据过期检查:0:22:31 前,执行于 2022年02月12日 星期六 13时29分50秒。
依赖关系解决。
===========================================================================================================================================================
 软件包                           架构                   版本                                                              仓库                       大小
===========================================================================================================================================================
安装组/模块包:
 nodejs                           x86_64                 1:10.24.0-1.module_el8.3.0+717+fa496f1d                           AppStream                 8.8 M
 npm                              x86_64                 1:6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d                 AppStream                 3.7 M
安装弱的依赖:
 nodejs-full-i18n                 x86_64                 1:10.24.0-1.module_el8.3.0+717+fa496f1d                           AppStream                 7.3 M
安装模块配置档案:
 nodejs/common                                                                                                                                            
启用模块流:
 nodejs                                                  10                                                                                               

事务概要
===========================================================================================================================================================
安装  3 软件包

总下载:20 M
安装大小:71 M
确定吗?[y/N]: y
下载软件包:
(1/3): npm-6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d.x86_64.rpm                                                      388 kB/s | 3.7 MB     00:09    
(2/3): nodejs-full-i18n-10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64.rpm                                                   443 kB/s | 7.3 MB     00:16    
(3/3): nodejs-10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64.rpm                                                             501 kB/s | 8.8 MB     00:18    
-----------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                       1.1 MB/s |  20 MB     00:18     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  运行脚本: npm-1:6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d.x86_64                                                                               1/1 
  准备中  :                                                                                                                                            1/1 
  安装    : nodejs-full-i18n-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                                                                            1/3 
  安装    : npm-1:6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d.x86_64                                                                               2/3 
  安装    : nodejs-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                                                                                      3/3 
  运行脚本: nodejs-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                                                                                      3/3 
  验证    : nodejs-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                                                                                      1/3 
  验证    : nodejs-full-i18n-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                                                                            2/3 
  验证    : npm-1:6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d.x86_64                                                                               3/3 

已安装:
  nodejs-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64                      nodejs-full-i18n-1:10.24.0-1.module_el8.3.0+717+fa496f1d.x86_64              
  npm-1:6.14.11-1.10.24.0.1.module_el8.3.0+717+fa496f1d.x86_64              

完毕!

四、在源代码目录安装依赖

[root@C20210805207038 lifeRestart]# npm install

> core-js@3.21.0 postinstall /home/lifeRestart/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for webpack-dev-server@4.7.4: wanted: {"node":">= 12.13.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: webpack-dev-server@4.7.4
npm WARN notsup Unsupported engine for http-proxy-middleware@2.0.3: wanted: {"node":">=12.0.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: http-proxy-middleware@2.0.3
npm WARN notsup Unsupported engine for open@8.4.0: wanted: {"node":">=12"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: open@8.4.0
npm WARN notsup Unsupported engine for schema-utils@4.0.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: schema-utils@4.0.0
npm WARN notsup Unsupported engine for strip-ansi@7.0.1: wanted: {"node":">=12"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: strip-ansi@7.0.1
npm WARN notsup Unsupported engine for webpack-dev-middleware@5.3.1: wanted: {"node":">= 12.13.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: webpack-dev-middleware@5.3.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for ansi-regex@6.0.1: wanted: {"node":">=12"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: ansi-regex@6.0.1
npm WARN notsup Unsupported engine for schema-utils@4.0.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: schema-utils@4.0.0
npm WARN xlsx_transform@ No repository field.
npm WARN xlsx_transform@ No license field.

added 511 packages from 331 contributors and audited 512 packages in 32.109s

53 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

五、编译打包

[root@C20210805207038 lifeRestart]# npm run build

> xlsx_transform@ build /home/lifeRestart
> webpack --mode production && cp -r ./view/* ./public/ && cp -r ./data ./public/ && mv public build

asset bundle.js 783 KiB [emitted] [minimized] [big] (name: main)
orphan modules 85.9 KiB [orphan] 8 modules
runtime modules 221 bytes 1 module
modules by path ./node_modules/core-js/internals/*.js 118 KiB
  ./node_modules/core-js/internals/to-string-tag-support.js 210 bytes [built] [code generated]
  ./node_modules/core-js/internals/well-known-symbol.js 1.03 KiB [built] [code generated]
  ./node_modules/core-js/internals/global.js 590 bytes [built] [code generated]
  + 151 modules
modules by path ./node_modules/core-js/modules/*.js 70.8 KiB
  ./node_modules/core-js/modules/es.object.to-string.js 380 bytes [built] [code generated]
  ./node_modules/core-js/modules/es.promise.js 14 KiB [built] [code generated]
  ./node_modules/core-js/modules/web.dom-collections.for-each.js 887 bytes [built] [code generated]
  ./node_modules/core-js/modules/es.array.iterator.js 2.45 KiB [built] [code generated]
  + 31 modules
./src/index.js + 8 modules 87.8 KiB [built] [code generated]
./node_modules/regenerator-runtime/runtime.js 24.3 KiB [built] [code generated]

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  bundle.js (783 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (783 KiB)
      bundle.js

WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

webpack 5.68.0 compiled with 3 warnings in 6764 ms

六、检查文件编译情况

[root@C20210805207038 lifeRestart]# ls
bitcoin:  build.sh  _config.yml     data      _layouts  node          package.json       README.md  src   utils  webpack.config.cjs
build     CNAME     core-js@3.21.0  index.md  LICENSE   node_modules  package-lock.json  repl       test  view   yarn.lock

[root@C20210805207038 lifeRestart]# cd build

[root@C20210805207038 build]# ls
bundle.js            dark.css  iconfont.ttf   iconfont.woff2  index.html  manifest.json  test.html
condition_test.html  data      iconfont.woff  images          light.css   sw.js

出现了build文件夹,说明编译完成。

七、将build文件部署为站点

运行如下代码,站点即为 localhost:5000(临时使用)

npm run build
npm run preview

http-serve部署(长期部署)

npm install http-server -g
dist目录下运行 http-server -p 5000

Starting up http-server, serving ./public

http-server version: 14.1.0

http-server settings: 
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none

Available on:
  http://127.0.0.1:8080
  http://10.10.155.2:8080
Hit CTRL-C to stop the server

八、开放相应端口

查看防火墙某个端口是否开放
firewall-cmd --query-port=3306/tcp
开放防火墙端口3306
firewall-cmd --zone=public --add-port=3306/tcp --permanent
注意:开放端口后要重启防火墙生效
重启防火墙
systemctl restart firewalld
关闭防火墙端口
firewall-cmd --remove-port=3306/tcp --permanent
查看防火墙状态
systemctl status firewalld
关闭防火墙
systemctl stop firewalld
打开防火墙
systemctl start firewalld
开放一段端口
firewall-cmd --zone=public --add-port=40000-45000/tcp --permanent
查看开放的端口列表
firewall-cmd --zone=public --list-ports
查看被监听(Listen)的端口
netstat -lntp
检查端口被哪个进程占用
netstat -lnp|grep 3306

一、新系统更新源

$ sudo yum install update
$ sudo yum insatll upgrade

二、安装git

$ sudo yum install git

运行结果如下

CentOS-8 - AppStream                                                                                                        16 kB/s | 4.3 kB     00:00    
CentOS-8 - Base                                                                                                            9.2 kB/s | 3.9 kB     00:00    
CentOS-8 - Extras                                                                                                          5.7 kB/s | 1.5 kB     00:00    
依赖关系解决。
===========================================================================================================================================================
 软件包                                  架构                    版本                                                     仓库                        大小
===========================================================================================================================================================
安装:
 git                                     x86_64                  2.27.0-1.el8                                             AppStream                  164 k
安装依赖关系:
 emacs-filesystem                        noarch                  1:26.1-7.el8                                             BaseOS                      70 k
 git-core                                x86_64                  2.27.0-1.el8                                             AppStream                  5.7 M
 git-core-doc                            noarch                  2.27.0-1.el8                                             AppStream                  2.5 M
 perl-Carp                               noarch                  1.42-396.el8                                             BaseOS                      30 k
 perl-Data-Dumper                        x86_64                  2.167-399.el8                                            BaseOS                      58 k
 perl-Digest                             noarch                  1.17-395.el8                                             AppStream                   27 k
 perl-Digest-MD5                         x86_64                  2.55-396.el8                                             AppStream                   37 k
 perl-Encode                             x86_64                  4:2.97-3.el8                                             BaseOS                     1.5 M
 perl-Errno                              x86_64                  1.28-420.el8                                             BaseOS                      76 k
 perl-Error                              noarch                  1:0.17025-2.el8                                          AppStream                   46 k
 perl-Exporter                           noarch                  5.72-396.el8                                             BaseOS                      34 k
 perl-File-Path                          noarch                  2.15-2.el8                                               BaseOS                      38 k
 perl-File-Temp                          noarch                  0.230.600-1.el8                                          BaseOS                      63 k
 perl-Getopt-Long                        noarch                  1:2.50-4.el8                                             BaseOS                      63 k
 perl-Git                                noarch                  2.27.0-1.el8                                             AppStream                   77 k
 perl-HTTP-Tiny                          noarch                  0.074-1.el8                                              BaseOS                      58 k
 perl-IO                                 x86_64                  1.38-420.el8                                             BaseOS                     142 k
 perl-MIME-Base64                        x86_64                  3.15-396.el8                                             BaseOS                      31 k
 perl-Net-SSLeay                         x86_64                  1.88-1.module_el8.3.0+410+ff426aa3                       AppStream                  379 k
 perl-PathTools                          x86_64                  3.74-1.el8                                               BaseOS                      90 k
 perl-Pod-Escapes                        noarch                  1:1.07-395.el8                                           BaseOS                      20 k
 perl-Pod-Perldoc                        noarch                  3.28-396.el8                                             BaseOS                      86 k
 perl-Pod-Simple                         noarch                  1:3.35-395.el8                                           BaseOS                     213 k
 perl-Pod-Usage                          noarch                  4:1.69-395.el8                                           BaseOS                      34 k
 perl-Scalar-List-Utils                  x86_64                  3:1.49-2.el8                                             BaseOS                      68 k
 perl-Socket                             x86_64                  4:2.027-3.el8                                            BaseOS                      59 k
 perl-Storable                           x86_64                  1:3.11-3.el8                                             BaseOS                      98 k
 perl-Term-ANSIColor                     noarch                  4.06-396.el8                                             BaseOS                      46 k
 perl-Term-Cap                           noarch                  1.17-395.el8                                             BaseOS                      23 k
 perl-TermReadKey                        x86_64                  2.37-7.el8                                               AppStream                   40 k
 perl-Text-ParseWords                    noarch                  3.30-395.el8                                             BaseOS                      18 k
 perl-Text-Tabs+Wrap                     noarch                  2013.0523-395.el8                                        BaseOS                      24 k
 perl-Time-Local                         noarch                  1:1.280-1.el8                                            BaseOS                      34 k
 perl-URI                                noarch                  1.73-3.el8                                               AppStream                  116 k
 perl-Unicode-Normalize                  x86_64                  1.25-396.el8                                             BaseOS                      82 k
 perl-constant                           noarch                  1.33-396.el8                                             BaseOS                      25 k
 perl-interpreter                        x86_64                  4:5.26.3-420.el8                                         BaseOS                     6.3 M
 perl-libnet                             noarch                  3.11-3.el8                                               AppStream                  121 k
 perl-libs                               x86_64                  4:5.26.3-420.el8                                         BaseOS                     1.6 M
 perl-macros                             x86_64                  4:5.26.3-420.el8                                         BaseOS                      72 k
 perl-parent                             noarch                  1:0.237-1.el8                                            BaseOS                      20 k
 perl-podlators                          noarch                  4.11-1.el8                                               BaseOS                     118 k
 perl-threads                            x86_64                  1:2.21-2.el8                                             BaseOS                      61 k
 perl-threads-shared                     x86_64                  1.58-2.el8                                               BaseOS                      48 k
安装弱的依赖:
 perl-IO-Socket-IP                       noarch                  0.39-5.el8                                               AppStream                   47 k
 perl-IO-Socket-SSL                      noarch                  2.066-4.module_el8.3.0+410+ff426aa3                      AppStream                  298 k
 perl-Mozilla-CA                         noarch                  20160104-7.module_el8.3.0+416+dee7bcef                   AppStream                   15 k
启用模块流:
 perl                                                            5.26                                                                                     
 perl-IO-Socket-SSL                                              2.066                                                                                    
 perl-libwww-perl                                                6.34                                                                                     

事务概要
===========================================================================================================================================================
安装  48 软件包

总下载:21 M
安装大小:80 M
确定吗?[y/N]: y
下载软件包:
(1/48): git-2.27.0-1.el8.x86_64.rpm                                                                                        257 kB/s | 164 kB     00:00    
(2/48): perl-Digest-1.17-395.el8.noarch.rpm                                                                                192 kB/s |  27 kB     00:00    
(3/48): perl-Digest-MD5-2.55-396.el8.x86_64.rpm                                                                            265 kB/s |  37 kB     00:00    
(4/48): perl-Error-0.17025-2.el8.noarch.rpm                                                                                330 kB/s |  46 kB     00:00    
(5/48): perl-Git-2.27.0-1.el8.noarch.rpm                                                                                   538 kB/s |  77 kB     00:00    
(6/48): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm                                                                            226 kB/s |  47 kB     00:00    
(7/48): perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch.rpm                                                  857 kB/s | 298 kB     00:00    
(8/48): perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch.rpm                                                  110 kB/s |  15 kB     00:00    
(9/48): perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64.rpm                                                      608 kB/s | 379 kB     00:00    
(10/48): perl-TermReadKey-2.37-7.el8.x86_64.rpm                                                                            194 kB/s |  40 kB     00:00    
(11/48): perl-URI-1.73-3.el8.noarch.rpm                                                                                    335 kB/s | 116 kB     00:00    
(12/48): git-core-doc-2.27.0-1.el8.noarch.rpm                                                                              825 kB/s | 2.5 MB     00:03    
(13/48): emacs-filesystem-26.1-7.el8.noarch.rpm                                                                            201 kB/s |  70 kB     00:00    
(14/48): perl-libnet-3.11-3.el8.noarch.rpm                                                                                 250 kB/s | 121 kB     00:00    
(15/48): perl-Carp-1.42-396.el8.noarch.rpm                                                                                 145 kB/s |  30 kB     00:00    
(16/48): perl-Data-Dumper-2.167-399.el8.x86_64.rpm                                                                         168 kB/s |  58 kB     00:00    
(17/48): perl-Errno-1.28-420.el8.x86_64.rpm                                                                                220 kB/s |  76 kB     00:00    
(18/48): perl-Exporter-5.72-396.el8.noarch.rpm                                                                             162 kB/s |  34 kB     00:00    
(19/48): perl-File-Path-2.15-2.el8.noarch.rpm                                                                              138 kB/s |  38 kB     00:00    
(20/48): perl-File-Temp-0.230.600-1.el8.noarch.rpm                                                                         182 kB/s |  63 kB     00:00    
(21/48): perl-Getopt-Long-2.50-4.el8.noarch.rpm                                                                            182 kB/s |  63 kB     00:00    
(22/48): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm                                                                             210 kB/s |  58 kB     00:00    
(23/48): perl-IO-1.38-420.el8.x86_64.rpm                                                                                   229 kB/s | 142 kB     00:00    
(24/48): perl-MIME-Base64-3.15-396.el8.x86_64.rpm                                                                          111 kB/s |  31 kB     00:00    
(25/48): perl-PathTools-3.74-1.el8.x86_64.rpm                                                                              145 kB/s |  90 kB     00:00    
(26/48): perl-Pod-Escapes-1.07-395.el8.noarch.rpm                                                                           98 kB/s |  20 kB     00:00    
(27/48): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm                                                                          178 kB/s |  86 kB     00:00    
(28/48): perl-Encode-2.97-3.el8.x86_64.rpm                                                                                 293 kB/s | 1.5 MB     00:05    
(29/48): perl-Pod-Usage-1.69-395.el8.noarch.rpm                                                                            163 kB/s |  34 kB     00:00    
(30/48): perl-Pod-Simple-3.35-395.el8.noarch.rpm                                                                           171 kB/s | 213 kB     00:01    
(31/48): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm                                                                      237 kB/s |  68 kB     00:00    
(32/48): perl-Socket-2.027-3.el8.x86_64.rpm                                                                                166 kB/s |  59 kB     00:00    
(33/48): perl-Storable-3.11-3.el8.x86_64.rpm                                                                               285 kB/s |  98 kB     00:00    
(34/48): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm                                                                       166 kB/s |  46 kB     00:00    
(35/48): perl-Term-Cap-1.17-395.el8.noarch.rpm                                                                             164 kB/s |  23 kB     00:00    
(36/48): perl-Text-ParseWords-3.30-395.el8.noarch.rpm                                                                       86 kB/s |  18 kB     00:00    
(37/48): perl-Time-Local-1.280-1.el8.noarch.rpm                                                                            161 kB/s |  34 kB     00:00    
(38/48): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm                                                                   47 kB/s |  24 kB     00:00    
(39/48): perl-constant-1.33-396.el8.noarch.rpm                                                                             122 kB/s |  25 kB     00:00    
(40/48): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm                                                                    198 kB/s |  82 kB     00:00    
(41/48): perl-libs-5.26.3-420.el8.x86_64.rpm                                                                               292 kB/s | 1.6 MB     00:05    
(42/48): perl-macros-5.26.3-420.el8.x86_64.rpm                                                                             150 kB/s |  72 kB     00:00    
(43/48): perl-parent-0.237-1.el8.noarch.rpm                                                                                144 kB/s |  20 kB     00:00    
(44/48): perl-podlators-4.11-1.el8.noarch.rpm                                                                              215 kB/s | 118 kB     00:00    
(45/48): perl-threads-2.21-2.el8.x86_64.rpm                                                                                177 kB/s |  61 kB     00:00    
(46/48): perl-threads-shared-1.58-2.el8.x86_64.rpm                                                                         173 kB/s |  48 kB     00:00    
(47/48): git-core-2.27.0-1.el8.x86_64.rpm                                                                                  303 kB/s | 5.7 MB     00:19    
(48/48): perl-interpreter-5.26.3-420.el8.x86_64.rpm                                                                        286 kB/s | 6.3 MB     00:22    
-----------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                       639 kB/s |  21 MB     00:33     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                                                                                            1/1 
  安装    : git-core-2.27.0-1.el8.x86_64                                                                                                              1/48 
  安装    : git-core-doc-2.27.0-1.el8.noarch                                                                                                          2/48 
  安装    : perl-Digest-1.17-395.el8.noarch                                                                                                           3/48 
  安装    : perl-Digest-MD5-2.55-396.el8.x86_64                                                                                                       4/48 
  安装    : perl-Data-Dumper-2.167-399.el8.x86_64                                                                                                     5/48 
  安装    : perl-libnet-3.11-3.el8.noarch                                                                                                             6/48 
  安装    : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64                                                                                 7/48 
  安装    : perl-URI-1.73-3.el8.noarch                                                                                                                8/48 
  安装    : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                                                    9/48 
  安装    : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch                                                                            10/48 
  安装    : perl-IO-Socket-IP-0.39-5.el8.noarch                                                                                                      11/48 
  安装    : perl-Time-Local-1:1.280-1.el8.noarch                                                                                                     12/48 
  安装    : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch                                                                            13/48 
  安装    : perl-Term-ANSIColor-4.06-396.el8.noarch                                                                                                  14/48 
  安装    : perl-Term-Cap-1.17-395.el8.noarch                                                                                                        15/48 
  安装    : perl-File-Temp-0.230.600-1.el8.noarch                                                                                                    16/48 
  安装    : perl-Pod-Simple-1:3.35-395.el8.noarch                                                                                                    17/48 
  安装    : perl-HTTP-Tiny-0.074-1.el8.noarch                                                                                                        18/48 
  安装    : perl-podlators-4.11-1.el8.noarch                                                                                                         19/48 
  安装    : perl-Pod-Perldoc-3.28-396.el8.noarch                                                                                                     20/48 
  安装    : perl-Text-ParseWords-3.30-395.el8.noarch                                                                                                 21/48 
  安装    : perl-Pod-Usage-4:1.69-395.el8.noarch                                                                                                     22/48 
  安装    : perl-MIME-Base64-3.15-396.el8.x86_64                                                                                                     23/48 
  安装    : perl-Storable-1:3.11-3.el8.x86_64                                                                                                        24/48 
  安装    : perl-Getopt-Long-1:2.50-4.el8.noarch                                                                                                     25/48 
  安装    : perl-Errno-1.28-420.el8.x86_64                                                                                                           26/48 
  安装    : perl-Socket-4:2.027-3.el8.x86_64                                                                                                         27/48 
  安装    : perl-Encode-4:2.97-3.el8.x86_64                                                                                                          28/48 
  安装    : perl-Carp-1.42-396.el8.noarch                                                                                                            29/48 
  安装    : perl-Exporter-5.72-396.el8.noarch                                                                                                        30/48 
  安装    : perl-libs-4:5.26.3-420.el8.x86_64                                                                                                        31/48 
  安装    : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                                               32/48 
  安装    : perl-parent-1:0.237-1.el8.noarch                                                                                                         33/48 
  安装    : perl-macros-4:5.26.3-420.el8.x86_64                                                                                                      34/48 
  安装    : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                                                             35/48 
  安装    : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                                               36/48 
  安装    : perl-File-Path-2.15-2.el8.noarch                                                                                                         37/48 
  安装    : perl-IO-1.38-420.el8.x86_64                                                                                                              38/48 
  安装    : perl-PathTools-3.74-1.el8.x86_64                                                                                                         39/48 
  安装    : perl-constant-1.33-396.el8.noarch                                                                                                        40/48 
  安装    : perl-threads-1:2.21-2.el8.x86_64                                                                                                         41/48 
  安装    : perl-threads-shared-1.58-2.el8.x86_64                                                                                                    42/48 
  安装    : perl-interpreter-4:5.26.3-420.el8.x86_64                                                                                                 43/48 
  安装    : perl-Error-1:0.17025-2.el8.noarch                                                                                                        44/48 
  安装    : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                       45/48 
  安装    : emacs-filesystem-1:26.1-7.el8.noarch                                                                                                     46/48 
  安装    : perl-Git-2.27.0-1.el8.noarch                                                                                                             47/48 
  安装    : git-2.27.0-1.el8.x86_64                                                                                                                  48/48 
  运行脚本: git-2.27.0-1.el8.x86_64                                                                                                                  48/48 
  验证    : git-2.27.0-1.el8.x86_64                                                                                                                   1/48 
  验证    : git-core-2.27.0-1.el8.x86_64                                                                                                              2/48 
  验证    : git-core-doc-2.27.0-1.el8.noarch                                                                                                          3/48 
  验证    : perl-Digest-1.17-395.el8.noarch                                                                                                           4/48 
  验证    : perl-Digest-MD5-2.55-396.el8.x86_64                                                                                                       5/48 
  验证    : perl-Error-1:0.17025-2.el8.noarch                                                                                                         6/48 
  验证    : perl-Git-2.27.0-1.el8.noarch                                                                                                              7/48 
  验证    : perl-IO-Socket-IP-0.39-5.el8.noarch                                                                                                       8/48 
  验证    : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch                                                                             9/48 
  验证    : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch                                                                            10/48 
  验证    : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64                                                                                11/48 
  验证    : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                       12/48 
  验证    : perl-URI-1.73-3.el8.noarch                                                                                                               13/48 
  验证    : perl-libnet-3.11-3.el8.noarch                                                                                                            14/48 
  验证    : emacs-filesystem-1:26.1-7.el8.noarch                                                                                                     15/48 
  验证    : perl-Carp-1.42-396.el8.noarch                                                                                                            16/48 
  验证    : perl-Data-Dumper-2.167-399.el8.x86_64                                                                                                    17/48 
  验证    : perl-Encode-4:2.97-3.el8.x86_64                                                                                                          18/48 
  验证    : perl-Errno-1.28-420.el8.x86_64                                                                                                           19/48 
  验证    : perl-Exporter-5.72-396.el8.noarch                                                                                                        20/48 
  验证    : perl-File-Path-2.15-2.el8.noarch                                                                                                         21/48 
  验证    : perl-File-Temp-0.230.600-1.el8.noarch                                                                                                    22/48 
  验证    : perl-Getopt-Long-1:2.50-4.el8.noarch                                                                                                     23/48 
  验证    : perl-HTTP-Tiny-0.074-1.el8.noarch                                                                                                        24/48 
  验证    : perl-IO-1.38-420.el8.x86_64                                                                                                              25/48 
  验证    : perl-MIME-Base64-3.15-396.el8.x86_64                                                                                                     26/48 
  验证    : perl-PathTools-3.74-1.el8.x86_64                                                                                                         27/48 
  验证    : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                                                   28/48 
  验证    : perl-Pod-Perldoc-3.28-396.el8.noarch                                                                                                     29/48 
  验证    : perl-Pod-Simple-1:3.35-395.el8.noarch                                                                                                    30/48 
  验证    : perl-Pod-Usage-4:1.69-395.el8.noarch                                                                                                     31/48 
  验证    : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                                               32/48 
  验证    : perl-Socket-4:2.027-3.el8.x86_64                                                                                                         33/48 
  验证    : perl-Storable-1:3.11-3.el8.x86_64                                                                                                        34/48 
  验证    : perl-Term-ANSIColor-4.06-396.el8.noarch                                                                                                  35/48 
  验证    : perl-Term-Cap-1.17-395.el8.noarch                                                                                                        36/48 
  验证    : perl-Text-ParseWords-3.30-395.el8.noarch                                                                                                 37/48 
  验证    : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                                                             38/48 
  验证    : perl-Time-Local-1:1.280-1.el8.noarch                                                                                                     39/48 
  验证    : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                                               40/48 
  验证    : perl-constant-1.33-396.el8.noarch                                                                                                        41/48 
  验证    : perl-interpreter-4:5.26.3-420.el8.x86_64                                                                                                 42/48 
  验证    : perl-libs-4:5.26.3-420.el8.x86_64                                                                                                        43/48 
  验证    : perl-macros-4:5.26.3-420.el8.x86_64                                                                                                      44/48 
  验证    : perl-parent-1:0.237-1.el8.noarch                                                                                                         45/48 
  验证    : perl-podlators-4.11-1.el8.noarch                                                                                                         46/48 
  验证    : perl-threads-1:2.21-2.el8.x86_64                                                                                                         47/48 
  验证    : perl-threads-shared-1.58-2.el8.x86_64                                                                                                    48/48 

已安装:
  emacs-filesystem-1:26.1-7.el8.noarch                                       git-2.27.0-1.el8.x86_64                                                       
  git-core-2.27.0-1.el8.x86_64                                               git-core-doc-2.27.0-1.el8.noarch                                              
  perl-Carp-1.42-396.el8.noarch                                              perl-Data-Dumper-2.167-399.el8.x86_64                                         
  perl-Digest-1.17-395.el8.noarch                                            perl-Digest-MD5-2.55-396.el8.x86_64                                           
  perl-Encode-4:2.97-3.el8.x86_64                                            perl-Errno-1.28-420.el8.x86_64                                                
  perl-Error-1:0.17025-2.el8.noarch                                          perl-Exporter-5.72-396.el8.noarch                                             
  perl-File-Path-2.15-2.el8.noarch                                           perl-File-Temp-0.230.600-1.el8.noarch                                         
  perl-Getopt-Long-1:2.50-4.el8.noarch                                       perl-Git-2.27.0-1.el8.noarch                                                  
  perl-HTTP-Tiny-0.074-1.el8.noarch                                          perl-IO-1.38-420.el8.x86_64                                                   
  perl-IO-Socket-IP-0.39-5.el8.noarch                                        perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch                 
  perl-MIME-Base64-3.15-396.el8.x86_64                                       perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch                 
  perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64                  perl-PathTools-3.74-1.el8.x86_64                                              
  perl-Pod-Escapes-1:1.07-395.el8.noarch                                     perl-Pod-Perldoc-3.28-396.el8.noarch                                          
  perl-Pod-Simple-1:3.35-395.el8.noarch                                      perl-Pod-Usage-4:1.69-395.el8.noarch                                          
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                 perl-Socket-4:2.027-3.el8.x86_64                                              
  perl-Storable-1:3.11-3.el8.x86_64                                          perl-Term-ANSIColor-4.06-396.el8.noarch                                       
  perl-Term-Cap-1.17-395.el8.noarch                                          perl-TermReadKey-2.37-7.el8.x86_64                                            
  perl-Text-ParseWords-3.30-395.el8.noarch                                   perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                  
  perl-Time-Local-1:1.280-1.el8.noarch                                       perl-URI-1.73-3.el8.noarch                                                    
  perl-Unicode-Normalize-1.25-396.el8.x86_64                                 perl-constant-1.33-396.el8.noarch                                             
  perl-interpreter-4:5.26.3-420.el8.x86_64                                   perl-libnet-3.11-3.el8.noarch                                                 
  perl-libs-4:5.26.3-420.el8.x86_64                                          perl-macros-4:5.26.3-420.el8.x86_64                                           
  perl-parent-1:0.237-1.el8.noarch                                           perl-podlators-4.11-1.el8.noarch                                              
  perl-threads-1:2.21-2.el8.x86_64                                           perl-threads-shared-1.58-2.el8.x86_64                                         

完毕!
$ yum install git-svn git-email gitk

运行结果如下

[root@C20210805207038 ~]# yum install git-svn git-email gitk
上次元数据过期检查:0:11:53 前,执行于 2022年02月12日 星期六 13时29分50秒。
依赖关系解决。
===========================================================================================================================================================
 软件包                                   架构                    版本                                                    仓库                        大小
===========================================================================================================================================================
安装:
 git-email                                noarch                  2.27.0-1.el8                                            AppStream                   89 k
 git-svn                                  noarch                  2.27.0-1.el8                                            AppStream                  111 k
 gitk                                     noarch                  2.27.0-1.el8                                            AppStream                  206 k
安装依赖关系:
 abattis-cantarell-fonts                  noarch                  0.0.25-6.el8                                            AppStream                  156 k
 apr                                      x86_64                  1.6.3-12.el8                                            AppStream                  129 k
 apr-util                                 x86_64                  1.6.1-6.el8                                             AppStream                  105 k
 fontconfig                               x86_64                  2.13.1-4.el8                                            BaseOS                     274 k
 fontpackages-filesystem                  noarch                  1.44-22.el8                                             BaseOS                      16 k
 git-gui                                  noarch                  2.27.0-1.el8                                            AppStream                  304 k
 libX11                                   x86_64                  1.6.8-5.el8                                             AppStream                  611 k
 libX11-common                            noarch                  1.6.8-5.el8                                             AppStream                  158 k
 libXau                                   x86_64                  1.0.9-3.el8                                             AppStream                   37 k
 libXft                                   x86_64                  2.3.3-1.el8                                             AppStream                   67 k
 libXrender                               x86_64                  0.9.10-7.el8                                            AppStream                   33 k
 libserf                                  x86_64                  1.3.9-9.module_el8.3.0+703+ba2f61b7                     AppStream                   60 k
 libxcb                                   x86_64                  1.13.1-1.el8                                            AppStream                  229 k
 perl-Authen-SASL                         noarch                  2.16-13.el8                                             AppStream                   57 k
 perl-Digest-HMAC                         noarch                  1.03-17.module_el8.3.0+416+dee7bcef                     AppStream                   20 k
 perl-Digest-SHA                          x86_64                  1:6.02-1.el8                                            AppStream                   66 k
 perl-GSSAPI                              x86_64                  0.28-25.el8                                             AppStream                   64 k
 perl-Git-SVN                             noarch                  2.27.0-1.el8                                            AppStream                   95 k
 perl-MailTools                           noarch                  2.20-2.el8                                              AppStream                  113 k
 perl-Memoize                             noarch                  1.03-420.el8                                            AppStream                  118 k
 perl-Net-SMTP-SSL                        noarch                  1.04-5.el8                                              AppStream                   15 k
 perl-TimeDate                            noarch                  1:2.30-15.module_el8.3.0+416+dee7bcef                   AppStream                   53 k
 perl-YAML                                noarch                  1.24-3.module_el8.4.0+592+aa2ae111                      AppStream                   93 k
 subversion                               x86_64                  1.10.2-4.module_el8.3.0+703+ba2f61b7                    AppStream                  1.1 M
 subversion-libs                          x86_64                  1.10.2-4.module_el8.3.0+703+ba2f61b7                    AppStream                  1.5 M
 subversion-perl                          x86_64                  1.10.2-4.module_el8.3.0+703+ba2f61b7                    AppStream                  976 k
 tcl                                      x86_64                  1:8.6.8-2.el8                                           BaseOS                     1.1 M
 tk                                       x86_64                  1:8.6.8-1.el8                                           AppStream                  1.6 M
 utf8proc                                 x86_64                  2.1.1-5.module_el8.3.0+703+ba2f61b7                     AppStream                   67 k
安装弱的依赖:
 apr-util-bdb                             x86_64                  1.6.1-6.el8                                             AppStream                   25 k
 apr-util-openssl                         x86_64                  1.6.1-6.el8                                             AppStream                   27 k
启用模块流:
 perl-YAML                                                        1.24                                                                                    
 subversion                                                       1.10                                                                                    

事务概要
===========================================================================================================================================================
安装  34 软件包

总下载:9.6 M
安装大小:31 M
确定吗?[y/N]: y
下载软件包:
(1/34): apr-1.6.3-12.el8.x86_64.rpm                                                                                        180 kB/s | 129 kB     00:00    
(2/34): apr-util-1.6.1-6.el8.x86_64.rpm                                                                                    144 kB/s | 105 kB     00:00    
(3/34): abattis-cantarell-fonts-0.0.25-6.el8.noarch.rpm                                                                    206 kB/s | 156 kB     00:00    
(4/34): apr-util-bdb-1.6.1-6.el8.x86_64.rpm                                                                                181 kB/s |  25 kB     00:00    
(5/34): apr-util-openssl-1.6.1-6.el8.x86_64.rpm                                                                            192 kB/s |  27 kB     00:00    
(6/34): git-email-2.27.0-1.el8.noarch.rpm                                                                                  425 kB/s |  89 kB     00:00    
(7/34): git-svn-2.27.0-1.el8.noarch.rpm                                                                                    522 kB/s | 111 kB     00:00    
(8/34): gitk-2.27.0-1.el8.noarch.rpm                                                                                       592 kB/s | 206 kB     00:00    
(9/34): git-gui-2.27.0-1.el8.noarch.rpm                                                                                    511 kB/s | 304 kB     00:00    
(10/34): libXau-1.0.9-3.el8.x86_64.rpm                                                                                     271 kB/s |  37 kB     00:00    
(11/34): libX11-common-1.6.8-5.el8.noarch.rpm                                                                              563 kB/s | 158 kB     00:00    
(12/34): libXrender-0.9.10-7.el8.x86_64.rpm                                                                                234 kB/s |  33 kB     00:00    
(13/34): libXft-2.3.3-1.el8.x86_64.rpm                                                                                     249 kB/s |  67 kB     00:00    
(14/34): libserf-1.3.9-9.module_el8.3.0+703+ba2f61b7.x86_64.rpm                                                            421 kB/s |  60 kB     00:00    
(15/34): perl-Authen-SASL-2.16-13.el8.noarch.rpm                                                                           403 kB/s |  57 kB     00:00    
(16/34): perl-Digest-HMAC-1.03-17.module_el8.3.0+416+dee7bcef.noarch.rpm                                                   145 kB/s |  20 kB     00:00    
(17/34): perl-Digest-SHA-6.02-1.el8.x86_64.rpm                                                                             317 kB/s |  66 kB     00:00    
(18/34): libX11-1.6.8-5.el8.x86_64.rpm                                                                                     466 kB/s | 611 kB     00:01    
(19/34): perl-GSSAPI-0.28-25.el8.x86_64.rpm                                                                                306 kB/s |  64 kB     00:00    
(20/34): libxcb-1.13.1-1.el8.x86_64.rpm                                                                                    318 kB/s | 229 kB     00:00    
(21/34): perl-Git-SVN-2.27.0-1.el8.noarch.rpm                                                                              447 kB/s |  95 kB     00:00    
(22/34): perl-Net-SMTP-SSL-1.04-5.el8.noarch.rpm                                                                           105 kB/s |  15 kB     00:00    
(23/34): perl-TimeDate-2.30-15.module_el8.3.0+416+dee7bcef.noarch.rpm                                                      381 kB/s |  53 kB     00:00    
(24/34): perl-Memoize-1.03-420.el8.noarch.rpm                                                                              342 kB/s | 118 kB     00:00    
(25/34): perl-MailTools-2.20-2.el8.noarch.rpm                                                                              283 kB/s | 113 kB     00:00    
(26/34): perl-YAML-1.24-3.module_el8.4.0+592+aa2ae111.noarch.rpm                                                           331 kB/s |  93 kB     00:00    
(27/34): subversion-perl-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64.rpm                                                   363 kB/s | 976 kB     00:02    
(28/34): subversion-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64.rpm                                                        294 kB/s | 1.1 MB     00:03    
(29/34): utf8proc-2.1.1-5.module_el8.3.0+703+ba2f61b7.x86_64.rpm                                                           202 kB/s |  67 kB     00:00    
(30/34): subversion-libs-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64.rpm                                                   323 kB/s | 1.5 MB     00:04    
(31/34): fontpackages-filesystem-1.44-22.el8.noarch.rpm                                                                    114 kB/s |  16 kB     00:00    
(32/34): fontconfig-2.13.1-4.el8.x86_64.rpm                                                                                318 kB/s | 274 kB     00:00    
(33/34): tk-8.6.8-1.el8.x86_64.rpm                                                                                         324 kB/s | 1.6 MB     00:05    
(34/34): tcl-8.6.8-2.el8.x86_64.rpm                                                                                        305 kB/s | 1.1 MB     00:03    
-----------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                       847 kB/s | 9.6 MB     00:11     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                                                                                            1/1 
  安装    : apr-1.6.3-12.el8.x86_64                                                                                                                   1/34 
  运行脚本: apr-1.6.3-12.el8.x86_64                                                                                                                   1/34 
  安装    : apr-util-bdb-1.6.1-6.el8.x86_64                                                                                                           2/34 
  安装    : apr-util-openssl-1.6.1-6.el8.x86_64                                                                                                       3/34 
  安装    : apr-util-1.6.1-6.el8.x86_64                                                                                                               4/34 
  运行脚本: apr-util-1.6.1-6.el8.x86_64                                                                                                               4/34 
  安装    : utf8proc-2.1.1-5.module_el8.3.0+703+ba2f61b7.x86_64                                                                                       5/34 
  运行脚本: utf8proc-2.1.1-5.module_el8.3.0+703+ba2f61b7.x86_64                                                                                       5/34 
  安装    : libserf-1.3.9-9.module_el8.3.0+703+ba2f61b7.x86_64                                                                                        6/34 
  运行脚本: libserf-1.3.9-9.module_el8.3.0+703+ba2f61b7.x86_64                                                                                        6/34 
  安装    : subversion-libs-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                               7/34 
  运行脚本: subversion-libs-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                               7/34 
  安装    : subversion-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                                    8/34 
  运行脚本: subversion-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                                    8/34 
  安装    : fontpackages-filesystem-1.44-22.el8.noarch                                                                                                9/34 
  安装    : perl-Net-SMTP-SSL-1.04-5.el8.noarch                                                                                                      10/34 
  安装    : perl-Memoize-1.03-420.el8.noarch                                                                                                         11/34 
  安装    : abattis-cantarell-fonts-0.0.25-6.el8.noarch                                                                                              12/34 
  安装    : fontconfig-2.13.1-4.el8.x86_64                                                                                                           13/34 
  运行脚本: fontconfig-2.13.1-4.el8.x86_64                                                                                                           13/34 
  安装    : subversion-perl-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                              14/34 
  运行脚本: subversion-perl-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                              14/34 
  安装    : tcl-1:8.6.8-2.el8.x86_64                                                                                                                 15/34 
  运行脚本: tcl-1:8.6.8-2.el8.x86_64                                                                                                                 15/34 
  安装    : perl-YAML-1.24-3.module_el8.4.0+592+aa2ae111.noarch                                                                                      16/34 
  安装    : perl-Git-SVN-2.27.0-1.el8.noarch                                                                                                         17/34 
  安装    : perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch                                                                               18/34 
  安装    : perl-MailTools-2.20-2.el8.noarch                                                                                                         19/34 
  安装    : perl-GSSAPI-0.28-25.el8.x86_64                                                                                                           20/34 
  安装    : perl-Digest-SHA-1:6.02-1.el8.x86_64                                                                                                      21/34 
  安装    : perl-Digest-HMAC-1.03-17.module_el8.3.0+416+dee7bcef.noarch                                                                              22/34 
  安装    : perl-Authen-SASL-2.16-13.el8.noarch                                                                                                      23/34 
  安装    : libXau-1.0.9-3.el8.x86_64                                                                                                                24/34 
  安装    : libxcb-1.13.1-1.el8.x86_64                                                                                                               25/34 
  安装    : libX11-common-1.6.8-5.el8.noarch                                                                                                         26/34 
  安装    : libX11-1.6.8-5.el8.x86_64                                                                                                                27/34 
  安装    : libXrender-0.9.10-7.el8.x86_64                                                                                                           28/34 
  安装    : libXft-2.3.3-1.el8.x86_64                                                                                                                29/34 
  运行脚本: tk-1:8.6.8-1.el8.x86_64                                                                                                                  30/34 
  安装    : tk-1:8.6.8-1.el8.x86_64                                                                                                                  30/34 
  运行脚本: tk-1:8.6.8-1.el8.x86_64                                                                                                                  30/34 
  安装    : git-gui-2.27.0-1.el8.noarch                                                                                                              31/34 
  安装    : gitk-2.27.0-1.el8.noarch                                                                                                                 32/34 
  安装    : git-email-2.27.0-1.el8.noarch                                                                                                            33/34 
  安装    : git-svn-2.27.0-1.el8.noarch                                                                                                              34/34 
  运行脚本: git-svn-2.27.0-1.el8.noarch                                                                                                              34/34 
  运行脚本: fontconfig-2.13.1-4.el8.x86_64                                                                                                           34/34 
  验证    : abattis-cantarell-fonts-0.0.25-6.el8.noarch                                                                                               1/34 
  验证    : apr-1.6.3-12.el8.x86_64                                                                                                                   2/34 
  验证    : apr-util-1.6.1-6.el8.x86_64                                                                                                               3/34 
  验证    : apr-util-bdb-1.6.1-6.el8.x86_64                                                                                                           4/34 
  验证    : apr-util-openssl-1.6.1-6.el8.x86_64                                                                                                       5/34 
  验证    : git-email-2.27.0-1.el8.noarch                                                                                                             6/34 
  验证    : git-gui-2.27.0-1.el8.noarch                                                                                                               7/34 
  验证    : git-svn-2.27.0-1.el8.noarch                                                                                                               8/34 
  验证    : gitk-2.27.0-1.el8.noarch                                                                                                                  9/34 
  验证    : libX11-1.6.8-5.el8.x86_64                                                                                                                10/34 
  验证    : libX11-common-1.6.8-5.el8.noarch                                                                                                         11/34 
  验证    : libXau-1.0.9-3.el8.x86_64                                                                                                                12/34 
  验证    : libXft-2.3.3-1.el8.x86_64                                                                                                                13/34 
  验证    : libXrender-0.9.10-7.el8.x86_64                                                                                                           14/34 
  验证    : libserf-1.3.9-9.module_el8.3.0+703+ba2f61b7.x86_64                                                                                       15/34 
  验证    : libxcb-1.13.1-1.el8.x86_64                                                                                                               16/34 
  验证    : perl-Authen-SASL-2.16-13.el8.noarch                                                                                                      17/34 
  验证    : perl-Digest-HMAC-1.03-17.module_el8.3.0+416+dee7bcef.noarch                                                                              18/34 
  验证    : perl-Digest-SHA-1:6.02-1.el8.x86_64                                                                                                      19/34 
  验证    : perl-GSSAPI-0.28-25.el8.x86_64                                                                                                           20/34 
  验证    : perl-Git-SVN-2.27.0-1.el8.noarch                                                                                                         21/34 
  验证    : perl-MailTools-2.20-2.el8.noarch                                                                                                         22/34 
  验证    : perl-Memoize-1.03-420.el8.noarch                                                                                                         23/34 
  验证    : perl-Net-SMTP-SSL-1.04-5.el8.noarch                                                                                                      24/34 
  验证    : perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch                                                                               25/34 
  验证    : perl-YAML-1.24-3.module_el8.4.0+592+aa2ae111.noarch                                                                                      26/34 
  验证    : subversion-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                                   27/34 
  验证    : subversion-libs-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                              28/34 
  验证    : subversion-perl-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                                                                              29/34 
  验证    : tk-1:8.6.8-1.el8.x86_64                                                                                                                  30/34 
  验证    : utf8proc-2.1.1-5.module_el8.3.0+703+ba2f61b7.x86_64                                                                                      31/34 
  验证    : fontconfig-2.13.1-4.el8.x86_64                                                                                                           32/34 
  验证    : fontpackages-filesystem-1.44-22.el8.noarch                                                                                               33/34 
  验证    : tcl-1:8.6.8-2.el8.x86_64                                                                                                                 34/34 

已安装:
  abattis-cantarell-fonts-0.0.25-6.el8.noarch                                  apr-1.6.3-12.el8.x86_64                                                     
  apr-util-1.6.1-6.el8.x86_64                                                  apr-util-bdb-1.6.1-6.el8.x86_64                                             
  apr-util-openssl-1.6.1-6.el8.x86_64                                          fontconfig-2.13.1-4.el8.x86_64                                              
  fontpackages-filesystem-1.44-22.el8.noarch                                   git-email-2.27.0-1.el8.noarch                                               
  git-gui-2.27.0-1.el8.noarch                                                  git-svn-2.27.0-1.el8.noarch                                                 
  gitk-2.27.0-1.el8.noarch                                                     libX11-1.6.8-5.el8.x86_64                                                   
  libX11-common-1.6.8-5.el8.noarch                                             libXau-1.0.9-3.el8.x86_64                                                   
  libXft-2.3.3-1.el8.x86_64                                                    libXrender-0.9.10-7.el8.x86_64                                              
  libserf-1.3.9-9.module_el8.3.0+703+ba2f61b7.x86_64                           libxcb-1.13.1-1.el8.x86_64                                                  
  perl-Authen-SASL-2.16-13.el8.noarch                                          perl-Digest-HMAC-1.03-17.module_el8.3.0+416+dee7bcef.noarch                 
  perl-Digest-SHA-1:6.02-1.el8.x86_64                                          perl-GSSAPI-0.28-25.el8.x86_64                                              
  perl-Git-SVN-2.27.0-1.el8.noarch                                             perl-MailTools-2.20-2.el8.noarch                                            
  perl-Memoize-1.03-420.el8.noarch                                             perl-Net-SMTP-SSL-1.04-5.el8.noarch                                         
  perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch                   perl-YAML-1.24-3.module_el8.4.0+592+aa2ae111.noarch                         
  subversion-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                       subversion-libs-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                 
  subversion-perl-1.10.2-4.module_el8.3.0+703+ba2f61b7.x86_64                  tcl-1:8.6.8-2.el8.x86_64                                                    
  tk-1:8.6.8-1.el8.x86_64                                                      utf8proc-2.1.1-5.module_el8.3.0+703+ba2f61b7.x86_64                         

完毕!

验证Git是否安装成功

[root@C20210805207038 ~]# git
用法:git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

这些是各种场合常见的 Git 命令:

开始一个工作区(参见:git help tutorial)
   clone             克隆仓库到一个新目录
   init              创建一个空的 Git 仓库或重新初始化一个已存在的仓库

在当前变更上工作(参见:git help everyday)
   add               添加文件内容至索引
   mv                移动或重命名一个文件、目录或符号链接
   restore           恢复工作区文件
   rm                从工作区和索引中删除文件
   sparse-checkout   初始化及修改稀疏检出

检查历史和状态(参见:git help revisions)
   bisect            通过二分查找定位引入 bug 的提交
   diff              显示提交之间、提交和工作区之间等的差异
   grep              输出和模式匹配的行
   log               显示提交日志
   show              显示各种类型的对象
   status            显示工作区状态

扩展、标记和调校您的历史记录
   branch            列出、创建或删除分支
   commit            记录变更到仓库
   merge             合并两个或更多开发历史
   rebase            在另一个分支上重新应用提交
   reset             重置当前 HEAD 到指定状态
   switch            切换分支
   tag               创建、列出、删除或校验一个 GPG 签名的标签对象

协同(参见:git help workflows)
   fetch             从另外一个仓库下载对象和引用
   pull              获取并整合另外的仓库或一个本地分支
   push              更新远程引用和相关的对象

命令 'git help -a' 和 'git help -g' 显示可用的子命令和一些概念帮助。
查看 'git help <命令>' 或 'git help <概念>' 以获取给定子命令或概念的
帮助。
有关系统的概述,查看 'git help git'。

centos8 yum命令报错

Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

原因:
2022 年 1 月 31 日,Cent OS团队终于从官方镜像中移除了 CentOS 8 的所有软件包。CentOS 8 已于 2021 年 12 月 31 日结束生命周期。
官方临时镜像地址从 mirror.centos.org 移到 https://vault.centos.org
解决方案:
root用户执行以下命令解决

sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*
sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-