|
我的系统centos4, 我现在使用的仓库是安装好系统后,系统自己带的仓库
配置文件是这样的
# 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&cc=tw
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&cc=tw
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#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://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
。。。。。。。。
。。。。。。。。。。。。。。
等等
这个仓库用的很好,现在内核都更新到2.6.67了感觉很好用。
但是在你鸟哥的架站学习笔记里是这样说
3. 利用 mirrordir 下載昇級套件。鳥哥這裡建議使用中山大學的 FTP 網站:
[root@test root]# mirrordir -v \
> http://linux.cdpa.nsysu.edu.tw/L ... ore/updates/1/i386/ \
> /var/www/html/yum/fedora/core1/update
我想是否我可以把我当前使用的仓库中的update目录 下载到我的系统内? 但是我不知道当前这个仓库的目录是什么?
哪位老大能够帮忙看看啊! |
|