标签:createrepo

发表于
记录一下备用: 首先下载CentOS 7的安装光盘,第一张即可 cd /tmp wget http://mirrors.163.com/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso 然后把iso光盘里的文件都拷贝出来到/export/html/centos7 mkdir /tmp/iso mount -o loop /tmp/CentOS-7-x86_64-DVD-1511.iso /tmp/iso/ cp -r /tmp/iso/* /export/html/centos7 清除老的repodata cd /export/html/centos7 #注意,是把repodata下*-comps....