|
|
发表于 2007-4-26 15:05:17
|
显示全部楼层
我是DVD硬盘安装成功的,按着从网上搜的方法,使用UltraISO修改.discinfo为如下:
1176235114.525559
centOS 5
i386
1,2,3,4,5,6
CentOS/base
CentOS/RPMS
CentOS/pixmaps
自带的源好慢,国内的那个源好像上不去,找了个快速的源升级,/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
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://dds.gina.alaska.edu/public/mirrors/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://dds.gina.alaska.edu/public/mirrors/centos/RPM-GPG-KEY-CentOS-5 |
|