搭建本地yum源的配置文件

#搭建本地yum源的配置文件
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
#baseurl=ftp:///root/yum/Server/
baseurl=file:///root/yum/Server/  /*yum的路徑*/
enabled=1
gpgcheck=1
gpgkey=file:///root/yum/RPM-GPG-KEY-redhat-release

直接複製就可以

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