redis-plus-plus的安装与使用
1、先安装hiredis
git clone https://github.com/redis/hiredis.git
cd hiredis
make
sudo make install
cd ..
2、然后安装redis-plus-plus
git clone https://github.com/sewenew/redis-plus-plus.git
cd redis-plus-plus
mkdir build
cd build
cmake ..
make
sudo make install
cd ..
sudo ldconfig
3、写代码测试

2327

被折叠的 条评论
为什么被折叠?



