1. 下载redis http://download.redis.io/releases/redis-2.8.19.tar.gz
3. cd redis-2.8.19
4. make MALLOC=jemalloc
5. sudo make PREFIX=/usr/local/redis/ install
6. sudo mkdir -p /usr/local/redis/(ect,logs,var)
7. sudo cp ~/Downloads/redis-2.8.19/redis.conf /usr/local/redis/etc/
8. sudo /usr/local/redis/bin/redis-server /usr/local/redis/etc/redis.conf
原文地址:http://kassien.blog.51cto.com/1007294/1600043