0%

RHCSA (EX200) - 配置您的系统以使用默认存储库(node2)

配置您的系统以使用默认存储库

YUM 存储库已可以从 http://foundation0.ilt.example.com/dvd/BaseOShttp://foundation0.ilt.example.com/dvd/AppStream 使用配置您的系统,以将这些位置用作默认存储库

1
2
3
4
5
6
7
8
9
10
11
[root@node2 ~]# scp root@172.25.250.100:/etc/yum.repos.d/*.repo /etc/yum.repos.d/
The authenticity of host '172.25.250.100 (172.25.250.100)' can't be established.
ECDSA key fingerprint is SHA256:1H687jfusVXYAUzAuByFfx1U/lB4VS+6h04wRhXhmZU.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '172.25.250.100' (ECDSA) to the list of known hosts.
root@172.25.250.100's password:
defaults.repo 100% 315 75.6KB/s 00:00
[root@node2 ~]# yum repolist all
repo id repo name status
AppStream AppStream enabled
BaseOS BaseOS enabled