2500元如何配Diy性价比最高的平板电脑电脑

CentOS更改yum源与更新系统 - 简书
CentOS更改yum源与更新系统
CentOS更改yum源与更新系统
首先备份/etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
进入yum源配置文件所在文件夹
cd /etc/yum.repos.d/
下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份),同时
提供sohu源(wget
运行yum makecache生成缓存
yum makecache
yum -y update
为CentOS安装EPEL软件仓库
EPEL全称: Extra Packages for Enterprise Linux.传说中最全的yum源
通过以下命令安装:
CentOS 6.x 32-bit
CentOS 6.x 64-bit
CentOS 5.x 32-bit
CentOS 5.x 64-bit
想暂停使用EPEL,在下面的文件中设置enabled=0即可.
vim /etc/yum.repos.d/epel.repoking_819 的BLOG
用户名:king_819
文章数:139
评论数:597
访问量:2097522
注册日期:
阅读量:5863
阅读量:12276
阅读量:423959
阅读量:1112405
51CTO推荐博文
&&&&&&& 在CentOS系统中,yum是个好东西,一组件可以直接通过yum来安装,但系统默认的yum源速度往往不尽人意,为了达到快递安装的目的,在这里就需要修改yum源
中科大的Centos 开源镜像站点.& http://centos./
执行以下命令就可以了
cd /etc/yum.repos.d
mv CentOS-Base.repo& CentOS-Base.repo.bak
mv CentOS-Base.repo.5 CentOS-Base.repo
cat CentOS-Base.repo
name=CentOS-$releasever - Base
baseurl=http://centos./centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://centos./centos/RPM-GPG-KEY-CentOS-5
#released updates
name=CentOS-$releasever - Updates
baseurl=http://centos./centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://centos./centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
name=CentOS-$releasever - Addons
baseurl=http://centos./centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://centos./centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
name=CentOS-$releasever - Extras
baseurl=http://centos./centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://centos./centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://centos./centos/$releasever/centosplus/$basearch/
gpgcheck=1
gpgkey=http://centos./centos/RPM-GPG-KEY-CentOS-5
也可以使用,&&&&& 本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)欢迎访问蓝队云一站式平台!
关注蓝队云
您的位置:
centos7 修改yum源
发布时间:&&&&&浏览量:307人
上一篇:下一篇:
最新发布的内容
大家感兴趣的内容
服务时间:9:00 - 24:00
选择对应客服在线沟通:
您可能遇到了下面的问题:
400专线7x24小时全时响应
技术在线支持
服务时间:全天24小时
选择对应技术在线沟通:
您可能遇到了下面的问题:
400专线7x24小时全时响应
网站ICP备案咨询
服务时间:9:00 - 17:30
选择对应客服在线沟通:
您可能遇到了下面的问题:
400专线7x24小时全时响应

我要回帖

更多关于 性价比最高的平板电脑 的文章

 

随机推荐