CentOS 7.6
- 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
- Modify the requirements.txt file in the dashboard folder.
- Open the requirements.txt file.
1vi /home/ceph-14.2.8/src/pybind/mgr/dashboard/requirements.txt - Press i to enter the insert mode and comment out pyopenssl.

- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the requirements.txt file.
- The isa-l version of the Ceph 14.2.8 source code is early. Upgrade it as follows:
- Go to the src directory.
cd /home/ceph-14.2.8/src
- 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/.

- Go to the src directory.
- Install the patch.
cd /home && wget https://github.com/ceph/ceph/commit/53040e4c0e9e86710b8800dbb7ea15b3fa196ebf.patch cd /home/ceph-14.2.8 patch -p1 < ../53040e4c0e9e86710b8800dbb7ea15b3fa196ebf.patch
- 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
- 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
Parent topic: Compiling Ceph