Compiling and Verifying Ceph
- Configure the compilation environment.
- Modify the yum.conf file.
1vi /etc/yum.confAdd sslverify=false and deltarpm=0 to the file.

- Modify the scl repo file.
1 2
yum -y install centos-release-scl vi /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
Change http to https.

- Modify the ceph.spec file.
1 2
cd /home/ceph-14.2.8/ vi ceph.spec.in
Change the SciPy version to python36-scipy.

- Modify the requirements.txt file in the dashboard folder.
1vi /home/ceph-14.2.8/src/pybind/mgr/dashboard/requirements.txtComment out pyopenssl.

- Modify the yum.conf file.
- Install the dependency.
1 2 3 4
yum -y install epel-release yum -y install python36-scipy.aarch64 cd /home/ceph-14.2.8/ sh install-deps.sh
- Perform compilation.
1 2 3 4
scl enable devtoolset-8 bash sh do_cmake.sh cd build make -j 48
- Perform a unit test (UT).
1ctest3 -V -R unittest_compression

- Delete the build directory.
1 2
cd /home/ceph-14.2.8/ rm -rf build
Parent topic: Compiling and Deploying Ceph