安装

wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
unzip master
cd ssdb-master
make
# 或安装到指定目录:sudo make install PREFIX=/your/direcotry
sudo make install

安装遇到
ERROR! autoconf required! install autoconf first
Makefile:4: build_config.mk: No such file or directory
make: *** No rule to make target `build_config.mk'.  Stop.

需要安装autoconf 
#yum -y install autoconf

gcc安装
#yum -y install gcc gcc-c++ kernel-devel

启动/停止

# start master
./ssdb-server ssdb.conf

# or start as daemon
./ssdb-server -d ssdb.conf

# stop
./ssdb-server ssdb.conf -s stop

# 重启
./ssdb-server -d -s restart ssdb.conf
如果觉得我的文章对你有用,请随意赞赏