One. hiredis installation and testing
1.git clone https://github.com/redis/hiredis.git
2.cd Fredis
3.make
4.make install
5.sudo ldconfig (updated dynamic library configuration file)
6.cd hiredis/example
7.gcc example.c -o example -I /usr/local/include/hiredis -lhiredis
二 .hiredis API