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

Installing the Ceph Software

  1. Run the following command to set the Yum certificate verification status of all server nodes and client nodes to verification-free:
    1
    vi /etc/yum.conf
    
    Add the following content to the end of the file:
    1
    2
    sslverify=false
    deltarpm=0
    
  2. Install Ceph on all server nodes and client nodes.
    1
    2
    dnf -y install librados2-14.2.8 ceph-14.2.8
    pip install prettytable werkzeug
    

    If the installation fails, configure the pip proxy based on 3 to accelerate the download speed.

  3. Install ceph-deploy on the ceph1 node.
    1
    pip install ceph-deploy
    
  4. On ceph1, add a line of code to the _get_distro function in the /lib/python2.7/site-packages/ceph_deploy/hosts/__init__.py file to adapt the software to the openEuler system.
    1
    vi /lib/python2.7/site-packages/ceph_deploy/hosts/__init__.py
    
    'openeuler':fedora,

  5. View the version on each node.
    1
    ceph -v
    

    The command output is similar to the following:

    1
    ceph version 14.2.8 (2d095e947a02261ce61424021bb43bd3022d35cb) nautilus (stable)