Skip to content

Instantly share code, notes, and snippets.

@ayuLiao
Created March 14, 2019 07:31
Show Gist options
  • Save ayuLiao/e5b7eebd757f1eb1349a47f093c93445 to your computer and use it in GitHub Desktop.
Save ayuLiao/e5b7eebd757f1eb1349a47f093c93445 to your computer and use it in GitHub Desktop.
mac上使用brew快速安装ssdb
mac下安装非常简单,只要在命令行执行
brew install ssdb
就帮你装好了,安装成功只需要 输入如下命令就可以启动ssdb服务器:
ssdb-server /usr/local/etc/ssdb.conf
当然前提是你先得安装好brew,brew安装也很简单只需要在命令行输入:
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null
启动和停止ssdb服务
启动:ssdb-server /usr/local/etc/ssdb.conf
守护进程启动方式 ssdb-server -d /usr/local/etc/ssdb.conf
停止: ssdb-server /usr/local/etc/ssdb.conf -s stop
重启:停止: ssdb-server /usr/local/etc/ssdb.conf -s restart
启动客户端:ssdb-cli
支持数据类型
SSDB ⽀持三种数据类型, 别分是 KV(key-value), Hashmap(map), Zset(sorted set).
@vmvz
Copy link

vmvz commented Nov 19, 2019

只能装 1.9.4 , 目前是 1.9.7了, 你如何更新的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment