Update Maca3.0

mirror 2024-09-13 15:03:55 +08:00
parent 417545455a
commit 938a12ad0d

@ -46,4 +46,42 @@
1. **永久配置** 1. **永久配置**
```bash ```bash
pip config set global.index-url https://mirror.metax-tech.com/r/maca-pypi/simple 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.trusted-host https://mirror.metax-tech.com
### METAX Driver
- **适配 CentOS 7**
1. **添加仓库并更新缓存**
```bash
cat <<EOF> /etc/yum.repos.d/metax-driver-centos7.repo
[maca]
name=Maca Yum Repository
baseurl=https://mirror.metax-tech.com/r/metax-driver-centos7
enabled=1
gpgcheck=0
EOF
yum makecache
- **适配 CentOS 8、CentOS 9 及 Kylin 系统**
```bash
cat <<EOF> /etc/yum.repos.d/metax-driver-centos.repo
[maca]
name=Maca Yum Repository
baseurl=https://mirror.metax-tech.com/r/metax-driver-centos
enabled=1
gpgcheck=0
EOF
yum makecache
- **适配所有 Ubuntu 系统**
```bash
curl -fsSL https://mirror.metax-internal.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
apt-get update