qua*_*ind 5 suse repository zypper sles
我有一个由不可用的人安装的SLES 11 SP4服务器.我查了/etc/zypp/repos.d,有一个repo文件SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109.repo它的内容是:
[SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109]
name=SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109
enabled=1
autorefresh=0
baseurl=cd:///?devices=/dev/sr0
path=/
type=yast2
keeppackages=0
这个回购不可用.我想添加默认的网络存储库/存储库,但经过大量搜索后我找不到如何做到这一点.我知道如何添加存储库,但我不知道如何添加默认存储库.你能为他们提供zypper ar命令吗?
提前致谢.
Cle*_*enz 14
这里列出了suse的"默认"存储库.我想你可能至少想添加官方存储库> OSS.
zypper addrepo http://download.opensuse.org/distribution/11.4/repo/oss/ oss
对于SLES,您只需注册服务器:
suse_register -a regcode-sles=yourRegistrationCode -a email=you@email.com -L /root/.suse_register.log
然后,将自动添加回购.您也可以在此处登录您的帐户,然后单击" 基本和扩展产品".我会给你一个我在那里看到的URL,但它对你来说没用,因为repos需要在连接之前进行身份验证,也因为我使用的是Itanium版本.这是一个示例回购:
https://updates.suse.com/repo/$RCE/SLES11-SP4-Pool/sle-11-ia64
另一个答案中列出的回购不是官方的SLES回购.