diff --git a/README-CN.md b/README-CN.md index ac88b8e58d394e2af0649ca555020d44838dfb53..70e90c8d1dca12d937adf3d458f6abf0fe3cb2d9 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 20ad8d709c07e391fc82c56cbd2a0e444716d32d..895b2fdce3857d35c6a1067231846985ab0f529f 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 9beee664c2aa1858d32be31e0ac4da553f3a21b4..92c25900b9edcd9da1b24074156697b3aa1a9914 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