This article is a mirror article of machine translation, please click here to jump to the original article.

View: 5438|Reply: 0

Kirin System uses YUM source to install the OceanBase error solution

[Copy link]
Posted on 3/3/2022 5:09:13 PM | | | |
Review:

OceanBase data exports incomplete pits
https://www.itsvse.com/thread-10239-1-1.html

OceanBase Database Management Tool Download
https://www.itsvse.com/thread-10236-1-1.html


If your machine has access to the public network and is able to add a third-party YUM software source, you can run the following command to install OBD using OceanBase's official software source:

When executing the third line of command, the error is as follows:

OceanBase-community-stable-el10                                                                                                                     11 kB/s | 2.3 kB     00:00   
Error: Failed to download metadata for repo 'oceanbase.community.stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried


enter /etc/yum.repos.dfolder, find the OceanBase.repo file as follows:

You can see that there are two variables in the source, $releasever and $basearch, $releasever set to 7 or 8 according to your actual situation, $basearch view it by executing the arch command, as shown in the figure below:

Linux environment basics: the difference between installing el6, el7, and el8 in rpm packages
https://www.itsvse.com/thread-10098-1-1.html




Finally, the OceanBase.repo file is modified as follows:

Re-execute the sudo yum install -y ob-deploy command as shown below:



(End)




Previous:ASP.NET Detailed explanation of Configuration priorities in Core(10).
Next:[Practice] IIS 10 Access Set IP Blacklist
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com