Monday, July 2, 2018

Building Ceph on Debian Jessie

  1. Checkout Ceph with --recursive
  2. Comment code that installs setuptools and sudo ./install-deps.sh
  3. ./ceph/do_cmake.sh.
  4. Switch to root using sudo su and run the following commands:
    echo "LC_ALL=en_US.UTF-8" >> /etc/environment   
        echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen 
        echo "LANG=en_US.UTF-8" > /etc/locale.conf
        locale-gen en_US.UTF-8
  1. Now switch back to your login and create ~/.bash_profile:
    $ cat ~/.bash_profile  
    export LC_ALL=en_US.UTF-8  
    export LANG=en_US.UTF-8
  1. Run source ~/.bash_profile
  2. cd to ./ceph/build and run make -j 4

No comments:

Post a Comment