This man is too old to remember everything in his brain. Right now, he needs a place to write down what he has studied.
2013年9月17日 星期二
利用義守大學 CentOS yum repository
[root@xxx ~]# cat /etc/yum.repos.d/rhel-source.repo
[base]
name=CentOS-$releasever – Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&cc=tw
baseurl=http://ftp.isu.edu.tw/pub/Linux/CentOS/6/os/$basearch/
gpgcheck=1
gpgkey=http://ftp.isu.edu.tw/pub/Linux/CentOS/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever – Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&cc=tw
baseurl=http://ftp.isu.edu.tw/pub/Linux/CentOS/6/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp.isu.edu.tw/pub/Linux/CentOS/RPM-GPG-KEY-CentOS-6
##packages used/produced in the build but not released
#[addons]
#name=CentOS-$releasever – Addons
#baseurl=http://ftp.isu.edu.tw/pub/Linux/CentOS/6/addons/$basearch/
##mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons&cc=tw
#gpgcheck=1
#gpgkey=http://ftp.isu.edu.tw/pub/Linux/CentOS/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever – Extras
baseurl=http://ftp.isu.edu.tw/pub/Linux/CentOS/6/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&cc=tw
gpgcheck=1
gpgkey=http://ftp.isu.edu.tw/pub/Linux/CentOS/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&cc=tw
baseurl=http://ftp.isu.edu.tw/pub/Linux/CentOS/6/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://ftp.isu.edu.tw/pub/Linux/CentOS/RPM-GPG-KEY-CentOS-6
沒有留言:
張貼留言