QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1841|回复: 1

建立apt server for ml 1.2

[复制链接]
发表于 2004-7-19 00:51:25 | 显示全部楼层 |阅读模式
结合以前在RH8,RH9上建立apt server的经验,现在特地做了个for ml 1.2的,希望能为大家提供那么点的服务,同样也能提出中肯的建议和意见,thx
忘了说了,这个是在root下操作的 :-)
安装:apt-0.5.5cnc6-fr0.rh80.1.i386.rpm(因为是RH8的系统)
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/apt/apt-0.5.5cnc6-fr0.rh80.1.i386.rpm

mkdir -p /data/www/apache/htdocs/apt/magiclinux/1.2/i686/RPMS.os
mkdir -p /data/www/apache/htdocs/apt/magiclinux/1.2/i686/RPMS.updates
把ml 1.2的包下载到/data/www/apache/htdocs/apt/magiclinux/1.2/i686/RPMS.os
把ml 1.2的更新包下载到/data/www/apache/htdocs/apt/magiclinux/1.2/i686/RPMS.updates
然后执行
genbasedir --flat --bloat --bz2only /data/www/apache/htdocs/apt/magiclinux/1.2/i686 os updates

最后把在/etc/apt/sources.list中加入下句:
rpm http://ume.3322.org/apt/magiclinux/1.2/i686/ os updates

保存退出,别忘了
apt-get update进行sources.list的更新


相关文章:http://www.ourlinux.net/Article_show.php?id=1275
发表于 2004-7-19 07:35:38 | 显示全部楼层
太好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-5 12:00 , Processed in 0.056132 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表