Rate This Document
Findability
Accuracy
Completeness
Readability

openEuler 22.03

  1. Go to the /home directory, decompress the Ceph source package and go to the directory generated after decompression.
    1
    cd /home && tar -zxvf ceph-14.2.8.tar.gz 
    
  2. In the root directory of the Ceph source code, download and apply the 22.03_adaptation.patch file to adapt Ceph for openEuler 22.03.
    1
    2
    3
    wget https://gitee.com/kunpengcompute/ceph/raw/adpat-openeuler-22.03/patch/22.03_adaptation.patch
    cd ceph-14.2.8/
    patch -p1 < ../22.03_adaptation.patch
    

  3. Pack the modified Ceph source code into a new package in the tar.bz2 format.
    1
    cd /home && tar -zcvf ceph-14.2.8.tar.bz2 ceph-14.2.8
    
  4. Compile the new Ceph package.
    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