1.wget http://download.redis.io/releases/redis-3.2.1.tar.gz
2.tar -xavf redis-3.2.1.tar.gz
3. cd redis-3.2.1/
4.make && make install
5. ./redis-server ../redis.conf
一堆警告!!!!根据警告给出来的解决方式开抄
1. echo never > /sys/kernel/mm/transparent_hugepage/enabled
2.echo 1 > /proc/sys/vm/overcommit_memory
3. echo 511 > /proc/sys/net/core/somaxconn
成功了