- 安装依赖
yum install gcc+ gcc-c++ autoconf
- 下载安装
wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
mv master.zip ssdb-master.zip
unzip ssdb-master.zip
cd ssdb-master
make -j20
make install
- 如果报错:libsnappy.a: No such file or directory 或者 libjemalloc.a: No such file or directory
cd deps/snappy-1.1.0;
./configure
make
cd ../..
cd deps/jemalloc-3.3.1;
./configure
make
cd ../..
参考文献:
http://blog.163.com/zhou_blog_new/blog/static/218232022201572871723334/