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

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

- 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.
- Compile and verify Ceph.
- Install the dependencies.
yum -y install epel-release yum -y install python36-scipy.aarch64 cd /home/ceph-14.2.8/ sh install-deps.sh
- Start the compilation.
The compilation requires GCC 7 or later. Make the compilation environment ready. In the following information, {number} indicates the number of jobs. Generally, a larger value indicates a faster compilation speed. However, the value cannot exceed the number of CPU cores.
sh do_cmake.sh cd build make -j{number} - Perform a unit test.
ctest3 -V -R unittest_erasure_code

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