OceanBase中add-repo Add remote mirror repository file.问题是直接obd web启动的为啥没有了远程仓库呢?我按文档执行过yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo,它提示说保存在etc下了
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
vim ~/.obd/mirror/remote/OceanBase.repo 添加以下信息 看下 [oceanbase.community.stable] name = OceanBase-community-stable-el$releasever baseurl = http://mirrors.aliyun.com/oceanbase/community/stable/el/$releasever/$basearch/ enabled = 0 gpgcheck = 1 gpgkey = http://mirrors.aliyun.com/oceanbase/RPM-GPG-KEY-OceanBase
[oceanbase.development-kit] name = OceanBase-development-kit-el$releasever baseurl = http://mirrors.aliyun.com/oceanbase/development-kit/el/$releasever/$basearch/ enabled = 0 gpgcheck = 1 gpgkey = http://mirrors.aliyun.com/oceanbase/RPM-GPG-KEY-OceanBaseobd mirror add-repo urlxxxx 用这个,此回答整理自钉群“[社区]技术答疑群OceanBase”
您好,如果您已经执行了"yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo",那么该命令会将OceanBase.repo文件保存在/etc/yum.repos.d/目录下。您可以通过以下命令来查看该文件是否已经存在:
ls /etc/yum.repos.d/OceanBase.repo
如果该文件已经存在,那么您可以尝试执行以下命令来更新yum缓存并安装OceanBase:
yum clean all && yum makecache && yum install -y oceanbase
如果您仍然无法从远程仓库获取OceanBase软件包,请检查您的网络配置是否正确,是否存在网络访问限制等问题。