-
Notifications
You must be signed in to change notification settings - Fork 6
Home
KG.Xu edited this page May 31, 2017
·
3 revisions
# 安装压缩库 (zlib, bzip2, snappy, lz4):
sudo yum install zlib-devel.x86_64 bzip2-devel.x86_64 snappy-devel.x86_64 lz4-devel.x86_64
git clone https://github.com/Terark/ssdb-chess.git
cd ssdb-chess
git submodule init
git submodule update --recursive
Download dependencies package and unzip it to /path/to/ssdb-chess/terark-zip-rocksdb
- 编译动态库 shared_lib
cd ssdb-chess/rocksdb
make shared_lib DEBUG_LEVEL=0
cd ssdb-chess
make
- 打开 ssdb/chess.conf, 修改 work_dir 和 pidfile 的路径
cd ssdb-chess
mkdir temp # 只需第一次运行时执行
./start.sh