开发者社区> 问答> 正文

CentOS 6.5x64安装ossfs报错,准备将OSS挂载为ECS磁盘

需求:准备将OSS挂载为ECS磁盘(通过ossfs工具)


问题:CentOS 6.5 (x64)安装ossfs报错


我都是按照官方的步骤安装的,版本也是对的。官方帮助文档: https://help.aliyun.com/document_detail/32196.html


执行安装命令:sudo yum localinstall ossfs_1.79.8_centos6.5_x86_64.rpm
报错如下:
Loaded plugins: security
Setting up Local Package Process
Examining ossfs_1.79.8_centos6.5_x86_64.rpm: ossfs-1.79.8-1.x86_64
Marking ossfs_1.79.8_centos6.5_x86_64.rpm to be installed
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again




展开
收起
睡莲 2016-11-15 09:56:31 5395 0
2 条回答
写回答
取消 提交回答
  • 回 1楼ensheng的帖子
    非常有道理,谢谢你~给你一个超大的么么哒

    -------------------------

    ReCentOS 6.5x64安装ossfs报错,准备将OSS挂载为ECS磁盘
    已经确定,要先装ossfs,然后再装wdcp,就没问题了
    2016-11-16 08:31:21
    赞同 展开评论 打赏
  • ReCentOS 6.5x64安装ossfs报错,准备将OSS挂载为ECS磁盘
    在你执行 yum localinstall 安装rpm包时, yum会去yum源下载该rpm包所依赖的其他rpm。根据报错信息可以看出,你的机器yum源配置有问题。可以参考:http://www.cnblogs.com/mchina/archive/2013/01/04/2842275.html  正确配置你的机器的yum源。
    2016-11-15 11:10:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS快储存加密技术 立即下载