不同系统同一个问题,可能解决方法不一样,也可能会遇到不同的问题,所以具体情况具体分析,我的系统是Centos6.6, 查看系统命令 cat /etc/issue
二、安装redis后编译报错:Newer version of jemalloc required[root@server003-bmbic redis-5.0.3]# make cd src && make all make[1]: Entering directory `/usr/local/maple.yuan/redis-5.0.3/src' CC adlist.o In file included from adlist.c:34: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required" make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/usr/local/redis-5.0.3/src' make: *** [all] Error 2