You are on page 1of 2

dnf clean all

35 dnf make cache


36 dnf makecache
37 cd /etc/
38 cd yum.repos.d/
39 ls
40 ls -ltr
41 more Lenovo.OpenHPC.local.repo
42 ping clustermgr
43 ip ad s
44 netstat -rn
45 ssh comp004
46 exit
47 cd /var/tmp
48 ls -ltr
49 cp /etc/yum.repos.d/Lenovo.OpenHPC.local.repo /var/tmp
50 sed -i '/^baseurl=/d' /var/tmp/Lenovo.OpenHPC.local.repo
51 sed -i '/^gpgkey=/d' /var/tmp/Lenovo.OpenHPC.local.repo
52 echo "baseurl=http://${sms_name}${link_ohpc_repo_dir}/CentOS_8" >>
/var/tmp/Lenovo.OpenHPC.local.repo
53 echo "gpgkey=http://${sms_name}${link_ohpc_repo_dir}/CentOS_8\
/repodata/repomd.xml.key" >> /var/tmp/Lenovo.OpenHPC.local.repo
54 cp /var/tmp/Lenovo.OpenHPC.local.repo /etc/yum.repos.d/
55 ls -l /etc/yum.repos.d/
56 dnf install -y ohpc-base-compute ohpc-slurm-client lmod-ohpc
57 ls ///install/custom/
58 ls -ltr
59 ls -ltr ///install/custom/
60 cd ///install/custom/
61 tar xvf repos.tar
62 ls -ltr ///install/custom/
63 ls -lash repos.tar
64 ls -sh repos.tar
65 rm -rf install
66 ls -sh repos.tar
67 ls -lash repos.tar
68 ls -sh repos.tar
69 cd /
70 tar xvf /install/custom/repos.tar
71 cd /install/custom/
72 ls
73 dnf clean
74 dnf clean all
75 dnf makecache
76 cd /etc/yum.repos.d/
77 ls
78 ls -ltr
79 more lenovo-hpc.repo
80 dnf clean all
81 dnf makecache
82 ls -ltr
83 dnf makecache
84 dnf install -y ohpc-base-compute ohpc-slurm-client lmod-ohpc
85 ibstat
86 lspci | grep ib
87 hstory
88 history
[root@comp002 yum.repos.d]# more lenovo-hpc.repo
[lenovo-hpc]
name=Lenovo recommended packages for HPC
baseurl=file:///install/custom/xcat/lenovo-hpc-el8
enabled=1
gpgcheck=1
gpgkey=file:///install/custom/xcat/lenovo-hpc-el8/lenovohpckey.pub

[root@comp001 yum.repos.d]# more lenovo-hpc.repo


[lenovo-hpc]
name=Lenovo recommended packages for HPC
baseurl=file:///install/custom/xcat/lenovo-hpc-el8
enabled=1
gpgcheck=1
gpgkey=file:///install/custom/xcat/lenovo-hpc-el8/lenovohpckey.pub

[root@comp001 yum.repos.d]# more Lenovo.OpenHPC.local.repo


[Lenovo-OpenHPC-local]
name=Lenovo-OpenHPC-2.3
baseurl=file:///install/custom/ohpc-2.3/CentOS_8
gpgcheck=1
gpgkey=file:///install/custom/ohpc-2.3/CentOS_8/repodata/repomd.xml.key

[root@comp002 yum.repos.d]# more Lenovo.OpenHPC.local.repo


[Lenovo-OpenHPC-local]
name=Lenovo-OpenHPC-2.3
gpgcheck=1

baseurl=http:///CentOS_8
gpgkey=http:///CentOS_8\ /repodata/repomd.xml.key

You might also like