我要评分
获取效率
正确性
完整性
易理解

Preparing the Compilation Environment

This section applies only to openEuler 20.03. Skip this section for CentOS 7.6.

Currently, Ceph cannot be directly compiled on openEuler. You need to perform the following steps for adaptation.

  1. Return to the ceph-14.2.8 directory.
    1
    cd /home/ceph-14.2.8  
    
  2. Open the install-deps.sh file.
    1
    vim install-deps.sh
    
  3. Add openEuler to the file.

  4. Create libkps_bluestore.so and libkps_ec.so.
    1
    2
    3
    cd /usr/lib64/ 
    ln -snf libkps_bluestore.so.1.0.0 libkps_bluestore.so 
    ln -snf libkps_ec.so.1.2.1 libkps_ec.so