hiredis安装和使用
一。hiredis安装和测试
1.git clone https://github.com/redis/hiredis.git
2.cd hiredis
3.make
4.make install
5.sudo ldconfig (更新动态库配置文件)
6.cd hiredis/example
7.gcc example.c -o example -I /usr/local/include/hiredis -lhiredis
二。hiredis API