标签:
1,到官方去下载
2,
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
# 启动 ssdb 命令行
./ssdb-cli -p 8888
3,在官网找到php客户端,然后按照php模块的方式安装ssdb的php客户端
<?php $ssdb = new SimpleSSDB(‘127.0.0.1‘, 8888); $resp = $ssdb->set(‘key‘, ‘123‘); $resp = $ssdb->get(‘key‘); echo $resp; // output: 123
标签:
原文地址:http://www.cnblogs.com/maomaochong123/p/4841738.html