标签:
本文链接:http://blog.csdn.net/kongxx/article/details/43821421
sudo mount -t auto -o loop CentOS-6.6-x86_64-bin-DVD1.iso /mnt sudo mkdir -p /var/www/html/yum_repos/CentOS6.6 sudo ln -s /mnt Packages
sudo mkdir -p /etc/yum.repos.d/bak sudo mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak/
[my-repo] name=my-repo baseurl=http://<yum_host>/yum_repos/CentOS6.6/Packages enabled=1 gpgcheck=0 priority=1
标签:
原文地址:http://blog.csdn.net/kongxx/article/details/43821421