摘要: # cat /etc/redhat-release # cd /etc/yum.repos.d # vim CentOS-AppStream.repo baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/ 阅读全文
posted @ 2020-07-24 16:23 别看窗外的世界 阅读(3590) 评论(0) 推荐(0) 编辑
摘要: CentOS8和前面的不太一样,准备推出dnf(下一代yum)了,所以epel结构也和之前的CentOS7 不一样。 这里经过测试给出了CentOS8 下面可用的epel几个文件,分别/etc/yum.repos.d/目录下的: epel.repoepel-playground.repoepel-t 阅读全文
posted @ 2020-07-24 16:22 别看窗外的世界 阅读(5352) 评论(0) 推荐(0) 编辑
摘要: 1、修改/etc/yum.conf文件 增加一行: proxy=http://xxx.xxx.xxx:xxxx 前面为代理地址,后面为端口 2、代理的用户名和密码 如果你的代理需要用户名和密码,则再增加如下内容: proxy_username=用户名 proxy_password=密码 最后,保存退 阅读全文
posted @ 2020-07-24 10:17 别看窗外的世界 阅读(5904) 评论(0) 推荐(0) 编辑