Centos 6.0 yum 更新源
中科大(http://centos.ustc.edu.cn/)的镜像站里面有Centos 6.0 镜像了。
先备份一下/etc/yum.repos.d/CentOS-Base.repo
#mv /etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.bak
然后把/etc/yum.repos.d/CentOS-Base.repo文件改为
# CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base baseurl=http: //mirrors .ustc.edu.cn /centos/6 .0 /os/ $basearch/
gpgcheck=1 gpgkey=http: //mirrors .ustc.edu.cn /centos/RPM-GPG-KEY-CentOS-6
#released updates [updates] name=CentOS-$releasever - Updates baseurl=http: //mirrors .ustc.edu.cn /centos/6 .0 /updates/ $basearch/
gpgcheck=1 gpgkey=http: //mirrors .ustc.edu.cn /centos/RPM-GPG-KEY-CentOS-6
#packages used/produced in the build but not released #[addons] #name=CentOS-$releasever - Addons #baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/addons/$basearch/ #gpgcheck=1 #gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras baseurl=http: //mirrors .ustc.edu.cn /centos/6 .0 /extras/ $basearch/
gpgcheck=1 gpgkey=http: //mirrors .ustc.edu.cn /centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus baseurl=http: //mirrors .ustc.edu.cn /centos/6 .0 /centosplus/ $basearch/
gpgcheck=1 enabled=0 gpgkey=http: //mirrors .ustc.edu.cn /centos/RPM-GPG-KEY-CentOS-6
|
更改一下源的路径就行了。现在可以更新Centos 6.0了。
下面是搜狐的:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http:
//
mirrors.sohu.com/centos/6
.0
/os/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=
http://mirrors.sohu.com/centos/6
.0
/updates/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-6
#packages used/produced in the build but not released
#[addons]
#name=CentOS-$releasever - Addons
#baseurl=http://mirrors.sohu.com/centos/$releasever/addons/$basearch/
#gpgcheck=1
#gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=
http://mirrors.sohu.com/centos/6
.0
/extras/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=
http://mirrors.sohu.com/centos/6
.0
/centosplus/
$basearch/
gpgcheck=1
enabled=0
gpgkey=
http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-6
下面是网易163的源:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http:
//
mirrors.163.com/centos/6
.0
/os/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=
http://mirrors.163.com/centos/6
.0
/updates/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
#packages used/produced in the build but not released
#[addons]
#name=CentOS-$releasever - Addons
#baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/
#gpgcheck=1
#gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=
http://mirrors.163.com/centos/6
.0
/extras/
$basearch/
gpgcheck=1
gpgkey=
http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=
http://mirrors.163.com/centos/6
.0
/centosplus/
$basearch/
gpgcheck=1
enabled=0
gpgkey=
http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
经过测试,教育网内用中科大的源很快。外网用网易的源非常快。
相关推荐
centos6.0下配置本地yum
1 删除RHEL原有的yum 2 下载新的yum安装包 #这里我们使用CentOS的yum源 3 安装yum软件包
亲自解决公司yum问题,特别研究编著.解决redhat在5.0及6.0的yum使用问题。
1、确认搭建LAMP所需要的...[root@centos6 ~]# yum install make gcc gcc-c++ zlib-devel libaio -y 3、由于要使用编译安装,所以查看httpd、mysql、php是否安装,如果安装则卸载 [root@centos6 ~]# rpm -q httpd mys
Red Hat 系统使用 CentOS的yum源配置文件,CentOS-Base.repo,Red Hat Enterprise Linux Server release 6.8 (Santiago)测试可用, release 6.5, release 6.9应该也可以
shell脚本完成zabbix 3.4 版本的一键安装过程,减少新手或小白的操作难度,即装即用,快速体验。
ZABBIX6的部署要求LINUX8及以上版本,本压缩包包括ZABBIX6安装包、fping、mariaDB等软件包,并且已经制作YUM源信息,可以直接解压缩后,配置YUM文件进行安装。 本压缩包在RHEL/CENTOS/OEL等版本Linux8环境下均测试...
本文实例讲述了Centos中VNC远程桌面程序的安装与使用方法。分享给大家供大家参考,具体如下: 这里以centos 6.5为例 安装GNOME桌面环境 yum groupinstall X Window System Desktop CentOS安装Xfce桌面环境,可选 ...
配置postfix全解,环境centos 6.0,全yum安装。
2)为了使用CentOS提供的yum源,需要删除系统自带的yum ∘ rpm -aq | grep yum | xargs rpm -e –nodeps 3)从Centos上下载安装yum ∘ wget ...
mv /etc/yum.repos.d/* /opt/centos-yum.bak/ 上传CentOS-Base.repo到/etc/yum.repos.d/ yum clean all yum makecache yum update 2.如果创建网站失败的话一般是没装好 可以试下下面命令: yum install gd ...
centos7下离线yum安装gluster6、gluster7的rpm包,内有说明文档。亲测可用。
系统:Centos6.0 32位 一、安装mysql #yum -y install mysql mysql-server mysql-devel 配置mysql开机启动服务 #chkconfig –add mysqld (在服务清单中添加mysql服务) #chkconfig mysqld on (设置mysql服务随开机...
redhat linux 6.0,勉注册,使用yum功能!网易镜像!
虚拟机操作系统:CentOS6.0 i386。 启动虚拟机后,键入lspci,系统提示没有这个命令。于是想到先安装这个工具再测试。安装过程需要解决几个问题:安装源?lspci属于哪个包? 操作步骤: 1、首先解决安装源的问题。...
centos7下离线安装unzip 可以自己前往https://pkgs.org/download/unzip官网下载 上传服务器,yum install unzip安装
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 3.宝塔安装环境 centos7.2 Nginx 1.2 MySQL 5.6 PHP 7.0 2.关闭防火墙 安全放行:1-65535 ...
sqlplus 上下键,centos6 安装 yum -y install readline* 提示无readline-static-6.0-4.el6.x86_64.rpm包 下载rlwrap-0.41.tar.gz地址: https://codeload.github.com/hanslub42/rlwrap/tar.gz/refs/tags/v0.41 cd...
现在说下我的本地测试VPS配置 centos6.0 1.我们要查看这些流量的攻击来源,所以我们需要下载iftop 地址wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz 安装的时候发现make出错 最后发先这个...
本人安装CoreSeek的系统为Centos6.0 CoreSeek版本: coreseek 3.2.14:点击下载 PHP:PECL/Sphinx扩展:sphinx-1.2.0.tgz 点击下载 。这些软件是都是源码包,我们是要通编译进行安装的。 前提条件是系统己安装...