Rate This Document
Findability
Accuracy
Completeness
Readability

CentOS 7.6

  1. Download the Ceph source package listed in Software Requirements, save the source package to the /home directory, and decompress the package.
    cd /home && tar -zxvf ceph-14.2.8.tar.gz
  2. Modify the requirements.txt file in the dashboard folder.
    1. Open the requirements.txt file.
      1
      vi /home/ceph-14.2.8/src/pybind/mgr/dashboard/requirements.txt
      
    2. Press i to enter the insert mode and comment out pyopenssl.

    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. The isa-l version of the Ceph 14.2.8 source code is early. Upgrade it as follows:
    1. Go to the src directory.
      cd /home/ceph-14.2.8/src
    2. Back up the original isa-l and download the latest isa-l.
      mv isa-l isa-l.bak
      git clone https://github.com/intel/isa-l.git   

      After the upgrade is complete, the aarch64 directory exists in /home/ceph-14.2.8/src/isa-l/erasure_code/.

  4. Install the patch.
    cd /home && wget https://github.com/ceph/ceph/commit/53040e4c0e9e86710b8800dbb7ea15b3fa196ebf.patch
    cd /home/ceph-14.2.8
    patch -p1 < ../53040e4c0e9e86710b8800dbb7ea15b3fa196ebf.patch
  5. Pack the modified Ceph source code into a new package in the tar.bz2 format.
    cd /home && tar -zcvf ceph-14.2.8.tar.bz2 ceph-14.2.8
  6. Compile the new Ceph package.
    1
    2
    3
    4
    5
    rpmdev-setuptree
    cp /home/ceph-14.2.8/ceph.spec /root/rpmbuild/SPECS/
    cp /home/ceph-14.2.8.tar.bz2 /root/rpmbuild/SOURCES/
    cd /root/rpmbuild/SPECS/
    rpmbuild -ba ceph.spec