yum的用法:
yum:[root@localhost Desktop]# cp proxy/
163Yum/ aliYum/ profile pxosy.txt
[root@localhost Desktop]# cp proxy/profile /etc/
cp: overwrite 鈥?etc/profile鈥? y
[root@localhost Desktop]# cp proxy/aliYum/ /etc/yum.repos.d/
cp: omitting directory 鈥榩roxy/aliYum/鈥?
[root@localhost Desktop]# cp proxy/aliYum/CentOS-Base.repo /etc/yum.repos.d/
[root@localhost Desktop]# yum clarn
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No such command: clarn. Please use /usr/bin/yum –help
[root@localhost Desktop]# yum makecache
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
^Chttp://mirrors.aliyun.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#56 - “Callback aborted”
Trying other mirror.
^Chttp://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#56 - “Callback aborted”
Trying other mirror.
[root@localhost Desktop]# ^C
[root@localhost Desktop]# source /etc/profile
[root@localhost Desktop]# yum makecache
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
yum的安装及用法
最新推荐文章于 2024-09-05 16:04:56 发布