From 9beea31578bce34c21113513bb009e70a1ef083c Mon Sep 17 00:00:00 2001 From: frf12 Date: Tue, 1 Jun 2021 15:36:22 +0800 Subject: [PATCH] update yum url, fix #2 --- README-CN.md | 2 +- README.md | 2 +- build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-CN.md b/README-CN.md index ac88b8e..70e90c8 100644 --- a/README-CN.md +++ b/README-CN.md @@ -34,7 +34,7 @@ ```shell sudo yum install -y yum-utils - sudo yum-config-manager --add-repo http://yum.tbsite.net/mirrors/oceanbase/OceanBase.repo + sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo sudo yum install -y ob-deploy source /etc/profile.d/obd.sh ``` diff --git a/README.md b/README.md index 20ad8d7..895b2fd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ ```shell sudo yum install -y yum-utils - sudo yum-config-manager --add-repo http://yum.tbsite.net/mirrors/oceanbase/OceanBase.repo + sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo sudo yum install -y ob-deploy source /etc/profile.d/obd.sh ``` diff --git a/build.sh b/build.sh index 9beee66..92c2590 100644 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ cp -r -d $obd_dir/* /usr/obd cd /usr/obd/plugins && ln -sf oceanbase oceanbase-ce cp -f /usr/obd/profile/obd.sh /etc/profile.d/obd.sh rm -fr /usr/obd/mirror/remote && mkdir -p /usr/obd/mirror/remote -cd /usr/obd/mirror/remote && wget http://yum.tbsite.net/mirrors/oceanbase/OceanBase.repo +cd /usr/obd/mirror/remote && wget https://mirrors.aliyun.com/oceanbase/OceanBase.repo rm -fr /usr/bin/obd echo -e "# /bin/bash\n$python_bin /usr/obd/_cmd.py \$*" > /usr/bin/obd chmod +x /usr/bin/obd -- GitLab