linux下redis安装
1、下载最新版redis
2、减压
3、make && make install
4、ln -s /usr/local/redis/src/redis-server /usr/sbin/redis-server
5、ln -s /usr/local/redis/src/redis-cli /usr/sbin/redis-cli
6、vim /usr/local/redis/redis.conf 修改启动文件后台运行
7、redis-server /usr/local/redis/redis.conf
开机启动参考博客:http://www.cnblogs.com/changfengSven/p/7235315.html