YUM REPO:http://content.example.com/rhe17.0/x89_64/dvd
1)"cd /etc/yum.repos.d" #系统默认的使用的yum配置文件
2)"vim rhe17.repo" #前缀些啥都可以,但.repo是固定的
3)写入:
[rhe17]
name=rhe17
baseurl=http://content.example.com/rhe17.0/x86_64/dvd
enabled=1
gpgcheck=0
4)"wq"#保存退出
5)"yum repolist"#查看是否修改成功
6)"yum -y install autofs chrony"#能下载成功就行