diff --git a/Maca3.0.md b/Maca3.0.md index 08a6b68..ea7dc7b 100644 --- a/Maca3.0.md +++ b/Maca3.0.md @@ -46,4 +46,42 @@ 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 \ No newline at end of file + pip config set global.trusted-host https://mirror.metax-tech.com + + +### METAX Driver + +- **适配 CentOS 7** + +1. **添加仓库并更新缓存** + + ```bash + cat < /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 < /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 \ No newline at end of file