How can I change the yum repository in OpenSuSE/SuSe before I run drblsrv ? |
1. Remove all *.repo in /etc/yum.repos.d/ to avoid confusion,
rm -f /etc/yum.repos.d/*
2. Edit the *.repo in /usr/share/drbl/setup/yum-repos/, change opensuse*.repo or drbl*.repo. For example, for OpenSuSE 10.2, you can modify /usr/share/drbl/setup/yum-repos/opensuse-updates-10.2.repo as the following:
--------------------------------------------------------------
[updates]
name=OpenSuSE $releasever updates packages
baseurl=http://ftp.twaren.net/Linux/SuSE/update/$releasever/
enabled=1
gpgcheck=1
--------------------------------------------------------------
and /usr/share/drbl/setup/yum-repos/opensuse-10.2.repo as:
--------------------------------------------------------------
[base]
name=OpenSuSE $releasever packages
baseurl=http://ftp.twaren.net/Linux/OpenSuSE/distribution/$releasever/repo/oss/suse/
enabled=1
gpgcheck=1
--------------------------------------------------------------
|
|