|
|
发表于 2006-3-30 21:16:36
|
显示全部楼层
我的目录结构是:就是将光盘中的文件复制到/data/ftppub/Linux/CentOS/4/下
[root@ftpserver CentOS]# ll /data/ftppub/Linux/CentOS/4/
总用量 308
dr-xr-xr-x 4 root root 4096 2005-03-30 CentOS
-r--r--r-- 1 root root 8859 2005-03-30 centosdocs-man.css
-r--r--r-- 1 root root 18009 2005-03-30 GPL
dr-xr-xr-x 2 root root 61440 2005-03-30 headers
dr-xr-xr-x 3 root root 4096 2005-03-30 images
dr-xr-xr-x 2 root root 4096 2005-03-30 isolinux
-r--r--r-- 1 root root 71402 2005-03-30 RELEASE-NOTES-en
-r--r--r-- 1 root root 103795 2005-03-30 RELEASE-NOTES-en.html
dr-xr-xr-x 2 root root 4096 2005-03-30 repodata
-r--r--r-- 1 root root 1795 2005-03-30 RPM-GPG-KEY
-r--r--r-- 1 root root 1795 2005-03-30 RPM-GPG-KEY-centos4
-r--r--r-- 1 root root 2676 2005-03-30 TRANS.TBL
其中repodata目录下有需要的.xml文件。
同时,你必须将yum的配置文件修改一下,好象其中有一些变量,需要修改,直接指定地址就可以了。 |
|