Update Maca3.0
parent
417545455a
commit
938a12ad0d
38
Maca3.0.md
38
Maca3.0.md
@ -47,3 +47,41 @@
|
|||||||
```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
|
Loading…
Reference in New Issue
Block a user