1.製作一個本地鏡像 同步鏡像: 如果因為網路問題,可以使用proxychains4 來進行代理訪問:(proxychains4 安裝教程) 創建repo metadata: 製作lustre.repo文件: ...
1.製作一個本地鏡像
reposync configfile: [root@localhost html]# cat lustre-repo.conf [lustre-server] name=lustre-server baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/server # exclude=*debuginfo* gpgcheck=0 [lustre-client] name=lustre-client baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/client # exclude=*debuginfo* gpgcheck=0 [patchless-ldiskfs] name=patchless-ldiskfs baseurl=https://downloads.whamcloud.com/public/lustre/latest-release/el7.6.1810/patchless-ldiskfs-server # exclude=*debuginfo* gpgcheck=0 [e2fsprogs-wc] name=e2fsprogs-wc baseurl=https://downloads.whamcloud.com/public/e2fsprogs/latest/el7 # exclude=*debuginfo* gpgcheck=0
同步鏡像:
[root@localhost html]# reposync -c lustre-repo.conf -n -r lustre-server -r lustre-client -r patchless-ldiskfs -r e2fsprogs-wc
如果因為網路問題,可以使用proxychains4 來進行代理訪問:(proxychains4 安裝教程)
[root@localhost repo]# proxychains4 reposync -c ../lustre-repo.conf -n -r lustre-server -r lustre-client -r patchless-ldiskfs -r e2fsprogs-wc
創建repo metadata:
cd /usr/share/nginx/html/repo for i in e2fsprogs-wc lustre-client lustre-server patchless-ldiskfs; do (cd $i && createrepo .) done
製作lustre.repo文件:
[root@localhost html]# cat lustre.repo [lustre-server] name=lustre-server baseurl=http://127.0.0.1/repo/lustre-server # enabled=0 gpgcheck=0 proxy=_none_ [lustre-client] name=lustre-client baseurl=http://127.0.0.1/repo/lustre-client # enabled=0 gpgcheck=0 [e2fsprogs-wc] name=e2fsprogs-wc baseurl=http://127.0.0.1/repo/e2fsprogs-wc # enabled=0 gpgcheck=0 # patchless-ldiskfs [patchless-ldiskfs] name=patchless-ldiskfs baseurl=http://127.0.0.1/repo/patchless-ldiskfs # enabled=0 gpgcheck=0
yum 安裝教程,詳細請參考lustre文檔
保持更新,如果對你有幫助,請點擊推薦。