1 2 | cd /home git clone https://gitee.com/src-openeuler/oath-toolkit.git |
执行此操作时可能报错并提示“SSL certificate problem: self signed certificate in certificate chain”,该错误由
1 2 | rpmdev-setuptree cp /home/oath-toolkit/0001-oath-toolkit-2.6.5-lockfile.patch /home/oath-toolkit/oath-toolkit-2.6.5.tar.gz /root/rpmbuild/SOURCES |
1 2 | cd /home/oath-toolkit rpmbuild -bb oath-toolkit.spec |
1 2 3 4 | mkdir -p /home/rpm/oath cp -r /root/rpmbuild/RPMS/* /home/rpm/oath/ yum install -y createrepo cd /home/rpm/oath && createrepo . |
1 | vi /etc/yum.repos.d/local.repo
|
1 2 3 4 5 6 | [local-oath] name=local-oath baseurl=file:///home/rpm/oath enabled=1 gpgcheck=0 priority=1 |
1 | yum clean all && yum makecache |
1 | cd /home && tar -zxvf ceph-14.2.8.tar.gz |
1 | vi /etc/yum.conf
|
1 | cd /home/ceph-14.2.8/src |
1 2 | mv isa-l isa-l.bak git clone https://github.com/intel/isa-l.git |
1 | ll /home/ceph-14.2.8/src/isa-l/erasure_code/
|
1 | yum install liboath liboath-devel -y |
1 | cd /home && tar -zcvf ceph-14.2.8.tar.bz2 ceph-14.2.8 |
1 2 3 4 5 | rpmdev-setuptree cp ceph-14.2.8/ceph.spec /root/rpmbuild/SPECS/ cp ceph-14.2.8.tar.bz2 /root/rpmbuild/SOURCES/ cd /root/rpmbuild/SPECS/ rpmbuild -ba ceph.spec |