不能安装到指定的/usr/local/redis目录
只能安装到默认的src下
[root@script redis-3.2.9]# make PREFIX=/usr/local/redis install
cd src && make install
make[1]: Entering directory `/root/redis-3.2.9/src'
Hint: It's a good idea to run 'make test' ;)
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
make[1]: Leaving directory `/root/redis-3.2.9/src'
redis这个目录没自动创建
我是后来手动创建