Update Maca3.0

mirror 2024-09-20 10:36:01 +08:00
parent 044f9448d6
commit b50d12c92c

@ -17,7 +17,7 @@
cat <<EOF> /etc/yum.repos.d/maca-sdk-rpm.repo
[maca-sdk]
name=Maca Sdk Yum Repository
baseurl=https://mirror.metax-tech.com/r/maca-sdk-rpm/
baseurl=https://repos.metax-tech.com/r/maca-sdk-rpm/
enabled=1
gpgcheck=0
EOF
@ -28,8 +28,8 @@
- **适配所有 Ubuntu 系统**
```bash
curl -fsSL https://mirror.metax-tech.com/public.gpg.key | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://mirror.metax-tech.com/r/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list
curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list
apt-get update
@ -37,12 +37,12 @@
1. **一次性安装**
```bash
pip install <PKG Name> -i https://mirror.metax-tech.com/r/maca-pypi/simple --trusted-host https://mirror.metax-tech.com
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
1. **永久配置**
```bash
pip config set global.index-url https://mirror.metax-tech.com/r/maca-pypi/simple
pip config set global.trusted-host https://mirror.metax-tech.com
pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple
pip config set global.trusted-host https://repos.metax-tech.com
### Metax Driver
@ -53,7 +53,7 @@
cat <<EOF> /etc/yum.repos.d/metax-driver-centos7.repo
[metax-centos7]
name=Maca Driver Yum Repository
baseurl=https://mirror.metax-tech.com/r/metax-driver-centos7
baseurl=https://repos.metax-tech.com/r/metax-driver-centos7
enabled=1
gpgcheck=0
EOF
@ -66,7 +66,7 @@
cat <<EOF> /etc/yum.repos.d/metax-driver-centos.repo
[metax-centos]
name=Maca Driver Yum Repository
baseurl=https://mirror.metax-tech.com/r/metax-driver-centos
baseurl=https://repos.metax-tech.com/r/metax-driver-centos
enabled=1
gpgcheck=0
EOF
@ -76,6 +76,6 @@
- **适配所有 Ubuntu 系统**
```bash
curl -fsSL https://mirror.metax-tech.com/public.gpg.key | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://mirror.metax-tech.com/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
apt-get update