文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>yum/apt本地服务器架设

yum/apt本地服务器架设

时间:2009-07-18  来源:edgeman03

怕忘记了,笔记下...

1.yum

yum-3(印象中yum-2以前)以前是用:yum -arch /opt/rhel/rpms/ 来建立repo。 yum-3以后建立repo必须用createrepo:rpm -Uvh createrepo-0.4.11-3.el5.noarch.rpmcreaterepo -v /opt/rhel/5.3/os/cat /etc/yum.repos.d/rhel.5.3.repo
[os]name=Server1 Server Repository#baseurl=http://apt.ourlinux.net/rhel/5.3/os/baseurl=file:///opt/rhel/5.3/os/gpgcheck=0

2.apt

yum -y install apt*使用 genbasedir 指令产生 base 数据夹和 rpm 索引清单genbasedir --flat --bloat --bz2only /opt/rhel/5.3/os/
cat /etc/apt/sources.list.d/rhel5.3.listrepomd http://apt.ourlinux.net rhel/5.3/os/
蛮适合centos系统更新的网址http://centos.ustc.edu.cnhttp://rpm.livna.org/https://rpmrepo.org/RPMforge/Using
相关阅读 更多 +
排行榜 更多 +
浴血混战官方下载

浴血混战官方下载

飞行射击 下载
检票员模拟器免广告下载

检票员模拟器免广告下载

模拟经营 下载
最终前哨最终版手机版下载

最终前哨最终版手机版下载

休闲益智 下载