1.下载ceph 0.94.10的源码
http://download.ceph.com/tarballs/
2.升级gcc,gcc下载地址
3.安装ceph依赖包
sudo yum install make automake autoconf boost-devel fuse-devel gcc-c++ libtool libuuid-devel libblkid-devel keyutils-libs-devel cryptopp-devel fcgi-devel libcurl-devel expat-devel gperftools-devel libedit-devel libatomic_ops-devel snappy-devel leveldb-devel libaio-devel xfsprogs-devel git libudev-devel libcrypto++-dev libcrypto++-utils
4.执行 ./install-deps.sh 配置编译环境,执行过程中如果少库,请在 https://pkgs.org/ 这里所需的库文件(此过程繁琐,需要耐心!!!)
5.执行 ./autogen.sh
6.执行 ./configure,生成makefile
至此,完成编译环境搭建