製作本地yum源

製作本地yum源

cd /etc/yum.repos.d/
ls
mv CentOS-Base.repo ../

掛載光盤

mount /dev/cdrom /mnt/
ls /mnt/

編輯Centos-Media.repo

vi Centos-Media.repo
name=dvd
baseurl=file:///mnt/
gpgcheck=0
enabled=1


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章