你的位置:首页 > 互联网IT
安装酸酸SS报错 [Error] Failed to install unzip centos安装阿里epel 源
系统:Centos
安装:shadowsocks/ss/ssr/shadowsocksR 报错 [Error] Failed to install unzip centos
解决方案做个记录
centos安装阿里epel 源即可!
方法一:添加epel阿里云
1、 首先卸载以前装的epel 以免影响:
rpm -e epel-release
2、 下载阿里提供的epel 。
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo
3、yum clean all
4、yum makecache
好了, 现在你要装epel源的软件的时候 不再慢吞吞了。
方法二:全部改成阿里云的源的方法
1、rm -rf /etc/yum.repos.d/* (执行此操作的时候记得事先装好wget 不然 你就得挂载光盘用rpm装wget了。)
2、wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo http://mirrors.aliyun.com/repo/Centos-6.repo
这个时候,执行 yum repolist的结果如下
[root@di02 ~]# yum repolist
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
![QQ截图20200921095707.jpg 安装酸酸SS报错 [Error] Failed to install unzip centos安装阿里epel 源 互联网IT QQ截图20200921095707.jpg 安装酸酸SS报错 [Error] Failed to install unzip centos安装阿里epel 源 互联网IT](https://m.012.ooo/zb_users/upload/2020/09/202009211600653447337772.jpg)





- 发表评论
- 查看评论
【暂无评论!】发表评论: