上传redis压缩包,并进行解压: # tar -zxvf redis-3.2.6.tar.gz # mv redis-3.2.6 redis # cd redis # make && make install 执行初始化脚本: