#error: cc:未找到命令#gcc未安装
yum -y install gcc automake autoconf libtool make#error:jemalloc/jemalloc.h: No such file or directory#没有安装jemalloc内存分配器,可以安装jemalloc 或 直接跳过make MALLOC=libc
#执行make test报错#You need tcl 8.5 or newer in order to run the Redis testwget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
cd /usr/local/tcl8.6.1/unix/
sudo ./configure
makemakeinstall