请选择 进入手机版 | 继续访问电脑版
设为首页

俊豪联盟  |  山东理工大学计算机协会

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 927|回复: 0

CentOS 6.4安装后设置163yum源

[复制链接]
发表于 2013-4-11 19:31:35 | 显示全部楼层 |阅读模式
onekey onekey "><a href=收藏到QQ书签" align="absMiddle" /> 收藏到QQ书签
  • 转播到腾讯微博"><a href=转播到腾讯微博" align="absMiddle" /> 转播到腾讯微博
  • 分享到新浪微博"><a href=分享到新浪微博" src="source/plugin/onekey/template/image/sina.png" align="absMiddle" /> 分享到新浪微博
  • ">" align="absMiddle" />
  • " href="javascript:d=document;t=d.selection?(d.selection.type!=\'None\'?d.selection.createRange().text:\'\'):(d.getSelection?d.getSelection():\'\');void(kaixin=window.open(\'http://www.kaixin001.com/~repaste/repaste.php?&rurl;=\'+escape(\'http://jhlm.net/thread-418-1-1.html\')+\'&rtitle;=\'+escape(\'CentOS 6.4安装后设置163yum源\')+\'&rcontent;=\'+escape(\'CentOS 6.4安装后设置163yum源\'),\'kaixin\'));kaixin.focus();">
  • 分享到白社会" target="_self" onclick="(function(){var url = \'http://jhlm.net/thread-418-1-1.html\';var title = encodeURIComponent(\'CentOS 6.4安装后设置163yum源\');window.open(\'http://bai.sohu.com/app/share/blank/add.do?link=\'+url+\'&title;=\'+title,\'newwindow\',\'height=330,width=550,top=\'+(screen.height-280)/2+\',left=\'+(screen.width-550)/2+\', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no\');})()" href="javascript:void(0);"><a title=分享到白社会" /> 分享到白社会
  • 分享到豆瓣" target="_self" onclick="(function(){var url = \'http://jhlm.net/thread-418-1-1.html\';var title = encodeURIComponent(\'CentOS 6.4安装后设置163yum源\');window.open(\'http://9.douban.com/recommend/?url=\'+url+\'&title;=\'+title,\'newwindow\',\'height=330,width=550,top=\'+(screen.height-280)/2+\',left=\'+(screen.width-550)/2+\', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no\');})()" href="javascript:void(0);"><a title=分享到豆瓣" /> 分享到豆瓣
  • 分享到网易微博" onclick="(function(){var url = \'link=http://jhlm.net/&source=\'+ encodeURIComponent(\'\')+ \'&info=\'+ encodeURIComponent(\'CentOS 6.4安装后设置163yum源\') + \' \' + encodeURIComponent(\'http://jhlm.net/thread-418-1-1.html\');window.open(\'http://t.163.com/article/user/checkLogin.do?\'+url+\'&\'+new Date().getTime(),\'newwindow\',\'height=330,width=550,top=\'+(screen.height-280)/2+\',left=\'+(screen.width-550)/2+\', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no\');})()" href="javascript:void(0);"><a target=分享到网易微博" /> 分享到网易微博
  • 添加到百度搜藏"><a href=添加到百度搜藏" align="absmiddle" border="0"> 添加到百度搜藏
  • '); //ajaxget($('onekeymenu').href, 'onekeymenu_menu', 'ajaxwaitid'); } showMenu({'ctrlid':'onekeymenu','ctrlclass':'a','duration':2,'fade':1}); } function postToWb(){ var _t = encodeURI('CentOS 6.4安装后设置163yum源'); var _url = encodeURIComponent('http://jhlm.net/thread-418-1-1.html'); var _appkey = encodeURI(''); var _pic = encodeURI(''); var _site = 'http://jhlm.net/'; var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&url;='+_url+'&appkey;='+_appkey+'&site;='+_site+'&pic;='+_pic; window.open( _u,'转播到腾讯微博', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' ); } function postToqz(){ var _t = encodeURIComponent('CentOS 6.4安装后设置163yum源'); var _url = encodeURIComponent('http://jhlm.net/thread-418-1-1.html'); var _u = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title='+_t+'&url;='+_url; window.open( _u,'分享到QQ空间', 'width=770, height=540, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' ); } function postToSq() { var _t = encodeURIComponent('CentOS 6.4安装后设置163yum源'); var _url = encodeURIComponent('http://jhlm.net/thread-418-1-1.html'); var _u = 'http://shuqian.qq.com/post?from=3&jumpback;=2&noui;=1&uri;='+_url+'&title;='+_t; window.open( _u,'收藏到QQ书签', 'width=930,height=570,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes' ); }
    安装完CentOS 6.4后,首先推荐大家先修改一下软件源,具体可以参考CentOS镜像使用帮助

    使用说明
    首先备份/etc/yum.repos.d/CentOS-Base.repo
        mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
    下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份)
    CentOS6
    运行yum makecache生成缓存
    之后就可以用yum install安装软件了。
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    Archiver|手机版|小黑屋|俊豪联盟 | 山东理工大学计算机协会   

    GMT+8, 2013-6-20 00:00 , Processed in 0.105826 second(s), 34 queries .

    Powered by X3

    © 2001-2013

    快速回复 返回顶部 返回列表