架设内部yum服务器(2)

[base]
name
=CentOS-mycompany - Base
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/os/$basearch/
gpgchecksever
=1
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever

#released updates
[update]
name
=CentOS-mycompany - Updates
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/updates/$basearch/
gpgcheck
=1
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever



#additional packages that may be useful
[extras]
name
=CentOS-mycompany - Extras
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/extras/$basearch/
gpgcheck
=1
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever

#additional packages that extend functionality of existing packages
[centosplus]
name
=CentOS-mycompany - Plus
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/centosplus/$basearch/
gpgcheck
=1
enabled
=0
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever

#contrib - packages by Centos Users
[contrib]
name
=CentOS-mycompany - Contrib
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/contrib/$basearch/
gpgcheck
=1
enabled
=0
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever


#packages of mycompany
[custom]
name
=CentOS-mycompany - custom
baseurl
=http://dev.mycompany.com/mirrors/centos/$releasever/custom/$basearch/
gpgcheck
=1
enabled
=0
gpgkey
=http://dev.mycompany.com/mirrors/centos/RPM-GPG-KEY-CentOS-$releasever

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/7a3e04ec9576dde59aa820a4bf0423d8.html