笔者在阿里云Centons7下安装Redis并且配置服务时,遇到如下错误:
You need tcl 8.5 or newer in order to run the Redis test
make: *** [test] Error 1
解决方案:
1、下载
http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
2、使用xftp上传到服务器
3、解压
tar -zxvf tcl8.6.1-src.tar.gz
4、依次执行如下命令
cd tcl8.6.1/
cd unix/
./configure
make
make install