Update MACA
parent
4006368cd8
commit
237aa6f6f1
72
MACA.md
72
MACA.md
@ -128,10 +128,9 @@
|
||||
|
||||
|
||||
|
||||
### 配置YUM源
|
||||
|
||||
#### 适配 Centos7 系统
|
||||
|
||||
- **配置YUM源**
|
||||
- **适配 Centos7 系统**
|
||||
|
||||
```bash
|
||||
cat <<EOF> /etc/yum.repos.d/metax-driver-centos7.repo
|
||||
@ -145,7 +144,29 @@
|
||||
yum makecache
|
||||
```
|
||||
|
||||
##### 安装metax-driver
|
||||
- **适配 CentOS 8、CentOS 9 及 Kylin 系统**
|
||||
```bash
|
||||
cat <<EOF> /etc/yum.repos.d/metax-driver-centos.repo
|
||||
[metax-centos]
|
||||
name=Maca Driver Yum Repository
|
||||
baseurl=https://repos.metax-tech.com/r/metax-driver-centos
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
EOF
|
||||
|
||||
yum makecache
|
||||
```
|
||||
|
||||
### 配置APT源
|
||||
|
||||
- **适配所有 Ubuntu 发行版本系统**
|
||||
```bash
|
||||
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/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
|
||||
apt-get update
|
||||
|
||||
|
||||
##### YUM安装metax-driver
|
||||
|
||||
- **安装metax-driver驱动**
|
||||
```bash
|
||||
@ -162,45 +183,7 @@
|
||||
```
|
||||
|
||||
|
||||
#### 适配 CentOS 8、CentOS 9 及 Kylin 系统
|
||||
|
||||
- **配置YUM源**
|
||||
```bash
|
||||
cat <<EOF> /etc/yum.repos.d/metax-driver-centos.repo
|
||||
[metax-centos]
|
||||
name=Maca Driver Yum Repository
|
||||
baseurl=https://repos.metax-tech.com/r/metax-driver-centos
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
EOF
|
||||
|
||||
yum makecache
|
||||
|
||||
##### 安装metax-driver
|
||||
|
||||
- **安装metax-driver驱动**
|
||||
```bash
|
||||
yum install metax-driver
|
||||
```
|
||||
|
||||
- **若需要启用SRIOV,需要安装额外的虚拟化支持包 mxgvm,以启用 SR-IOV 功能**
|
||||
```bash
|
||||
yum install metax-driver mxgvm
|
||||
```
|
||||
- **卸载metax-driver**
|
||||
```bash
|
||||
yum autoremove metax-driver
|
||||
```
|
||||
|
||||
#### 适配所有 Ubuntu 发行版本系统
|
||||
|
||||
- **配置APT源**
|
||||
```bash
|
||||
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/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
|
||||
apt-get update
|
||||
|
||||
##### 安装metax-driver
|
||||
##### APT安装metax-driver
|
||||
|
||||
- **安装metax-driver驱动**
|
||||
```bash
|
||||
@ -217,6 +200,9 @@
|
||||
apt autoremove metax-driver
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
#### 验证安装
|
||||
- **在安装完成后需要重启服务器**
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user