波神

导航

通过cat方式生成yum源

cat >> /etc/yum.repos.d/centos7.repo << EOF
[test-iso7]
name=CentOS- - Media
baseurl=http://10.111.133.20/centos7/
file:///mnt/cdrom/
file:///media/cdrecorder/
gpgcheck=0
enabled=1
EOF

posted on 2017-06-13 15:20  波神  阅读(276)  评论(0)    收藏  举报