|
发表于 2013-4-11 19:31:35
|
显示全部楼层
|阅读模式
"> ![收藏到QQ书签 <a href=](source/plugin/onekey/template/image/qqadd.gif) ![收藏到QQ书签](source/plugin/onekey/template/image/qqadd.gif) " align="absMiddle" /> ![收藏到QQ书签](source/plugin/onekey/template/image/qqadd.gif) ">![转播到腾讯微博 <a href=](source/plugin/onekey/template/image/qqwb.png) " align="absMiddle" /> ![转播到腾讯微博](source/plugin/onekey/template/image/qqwb.png) ">![分享到新浪微博 <a href=]() " src="source/plugin/onekey/template/image/sina.png" align="absMiddle" /> ![分享到新浪微博](source/plugin/onekey/template/image/sina.png) ">![<a href=](source/plugin/onekey/template/image/renren.png) " align="absMiddle" /> ![分享到人人](source/plugin/onekey/template/image/renren.png) " 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();"> ![](source/plugin/onekey/template/image/kaixin.png) " 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=](source/plugin/onekey/template/image/baisohu.png) " /> ![分享到白社会](source/plugin/onekey/template/image/baisohu.png) " 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=](source/plugin/onekey/template/image/douban.png) " /> ![分享到豆瓣](source/plugin/onekey/template/image/douban.png) " 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=](source/plugin/onekey/template/image/wblog.gif) " /> ![分享到网易微博](source/plugin/onekey/template/image/wblog.gif) ">![添加到百度搜藏 <a href=](source/plugin/onekey/template/image/baidu.gif) " align="absmiddle" border="0"> ![添加到百度搜藏](source/plugin/onekey/template/image/baidu.gif) ');
//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,' ![转播到腾讯微博](source/plugin/onekey/template/image/qqwb.png) ', '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空间](source/plugin/onekey/template/image/qzone.png) ', '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书签](source/plugin/onekey/template/image/qqadd.gif) ', '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安装软件了。 |
|