安装

wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
unzip master
cd ssdb-master
make
# optional, install ssdb in /usr/local/ssdb
sudo make install

启动

# start master
./ssdb-server ssdb.conf

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

连接并使用客户端:

adeMacBook-Pro:ssdb-master apple$ ./tools/ssdb-cli -p
ssdb (cli) - ssdb command line tool.
Copyright (c) - ssdb.io

'h' or 'help' for help, 'q' to quit.

ssdb-server

ssdb >
ok
(0.000 sec)
ssdb > get a

(0.000 sec)
ssdb >
ok
(0.000 sec)
ssdb > get b

(0.000 sec)
ssdb > 

参考:

http://ssdb.io/zh_cn/

http://www.ttlsa.com/redis/ssdb-redis-alternatives/

05-08 15:24