cd /tmp/
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
tar zxvf redis-5.0.7.tar.gz
cd redis-5.0.7/deps/jemalloc
./configure
make -j20
make install
cd ../../
make MALLOC=jemalloc -j20
make MALLOC=libc
make install
cd /tmp/
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
tar zxvf redis-5.0.7.tar.gz
cd redis-5.0.7/deps/jemalloc
./configure
make -j20
make install
cd ../../
make MALLOC=jemalloc -j20
make MALLOC=libc
make install