System: CentOS-7-x86_64-DVD-1511.iso
Minimal installation, basic configuration.
1. Download the source code document (recommended to download from the official website)
This article selects version 12.0.1
http://download.ceph.com/tarballs/
2. Import the compressed package into the corresponding directory of the server. The directory I imported is /usr/src
Import using xftp (the usage of xftp is omitted again)
3. Unzip the installation package
tar -zxvf ceph-12.0.1.tar.gz
cd ceph-12.0.1
4. Execute the script to install the dependencies required to deploy ceph
./do_cmake.sh
After the script is executed, the build directory will be automatically created in the /usr/src/ceph-12.0.1 directory
5. Enter the build directory to execute the installation
make -j8
make install