diff --git a/MXRDMA.md b/MXRDMA.md index 3f385ff..ac564ef 100644 --- a/MXRDMA.md +++ b/MXRDMA.md @@ -23,14 +23,14 @@ * **配置YUM源** - ```bash - cat < /etc/yum.repos.d/maca-rdma-rpm.repo - [maca-rdma] - name=Maca Rdma Yum Repository - baseurl=https://repos.metax-tech.com/r/maca-rdma-rpm-$(uname -m)/ - enabled=1 - gpgcheck=0 - EOF + ```shell + cat < /etc/yum.repos.d/maca-rdma-rpm.repo + [maca-rdma] + name=Maca Rdma Yum Repository + baseurl=https://repos.metax-tech.com/r/maca-rdma-rpm-$(uname -m)/ + enabled=1 + gpgcheck=0 + EOF yum makecache ``` @@ -53,9 +53,9 @@ * **配置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/maca-rdma-deb/ stable main" | tee /etc/apt/sources.list.d/maca-rdma-deb.list - apt-get update + 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-rdma-deb/ stable main" | tee /etc/apt/sources.list.d/maca-rdma-deb.list + apt-get update ``` #### 安装MXRDMA