CentOS 配置163的yum源更新笔记

CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源。

# cd /etc/yum.repos.d/
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

备份并替换系统的repo文件

# mv CentOS-Base.repo CentOS-Base.repo.bak
# mv CentOS6-Base-163.repo CentOS-Base.repo

执行yum源更新

# yum clean all
# yum makecache
# yum update
时间: 2024-08-26 12:31:37

CentOS 配置163的yum源更新笔记的相关文章

CentOS配置163的yum源

通常我们安装好Linux后,使用yum安装和更新的时候,大部分的URL都是国外的地址,所以导致进度比较慢.其实,我们可以自己修改yum源,使用国内的yum源,这样效率会更高.以163yum源为例,其他与之类似: 1.首先下载好yum文件 wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo 2.备份并替换系统的REPO文件 [[email protected] ~]# cd /etc/yum.repos.d/ [[email protect

CentOS配置163网络yum源

在安装完CentOS后一般需要修改yum源,才能够在安装更新rpm包时获得比较理想的速度.国内比较快的有163源.sohu源.这里以163源为例子. 1. cd /etc/yum.repos.d 2. mv CentOS-Base.repo CentOS-Base.repo.backup 3. wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 4. mv CentOS6-Base-163.repo CentOS-Base.repo 5

详解CentOS设置163的yum源的过程

转自启动CentOS系统,打开火狐浏览器,如下图所示: 2 登录"mirrors.163.com",如下图所示: 3 点击centos后面的"centos使用帮助",如下图所示: 4 可以看到设置和使用163的yum源的方法步骤都说的一清二楚,按照说明操作即可,特别值得注意的是"4小时更新一次",如下图所示: 5 根据自己的CentOS系统的版本下载相应的repo文件,我的系统是CentOS 6.6,所以选择下载"CentOS6&quo

CentOS6.4配置163的yum源

CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源. 1.下载repo文件 wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 2.备份并替换系统的repo文件 [[email protected] ~]# cd /etc/yum.repos.d/ [[email protected] ~]# mv CentOS-Base.repo CentOS-Base.repo

centos6.5配置163的yum源

CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源. 1.下载repo文件 wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 2.备份并替换系统的repo文件 [[email protected] ~]# cd /etc/yum.repos.d/ [[email protected] ~]# mv CentOS-Base.repo CentOS-Base.repo

CentOS 配置阿里云 yum 源

CentOS 1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo 或者 curl -o /etc/yum.re

配置Centos 6.5的yum源

问题:redhat 6.4 默认自带的 yum 源需要注册,才能更新. 解决方案:删除默认的yum源,手动配置Centos 6.5的yum源. 我这里的系统是RedHat 6.4的所以在 http://mirrors.163.com/centos/6/os/x86_64/Packages/  下载相关rpm包 1.首先查找系统自动安装了那些yum包 # rpm -qa | grep yum 2.删除默认安装的yum包,不检查依赖关系 # rpm -qa | grep yum | xargs rp

在CentOS 7下更改yum源与更新系统

在CentOS 7下更改yum源与更新系统. [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup [2] 进入yum源配置文件所在文件夹 cd /etc/yum.repos.d/ [3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份) wget http://mir

red hat Linux 使用CentOS yum源更新

red hat linux是商业版软件,没有经过注册是无法使用红帽 yum源更新软件的,使用CentOS源更新操作如下: 1.删除red hat linux 原有的yum 源 rpm -aq | grep yum|xargs rpm -e --nodeps 2.下载CentOS yum 所需软件 yum-3.2.22-40.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm yum-metadata-pa