make test 时需要:
安装一下8.5或者最新的tcl
1 2 3 4 5 6 |
[root@etcd3 tmp] # wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
[root@etcd3 tmp] # tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
[root@etcd3 tmp] # cd /usr/local/tcl8.6.1/unix/
[root@etcd3 unix] # ./configure
[root@etcd3 unix] # make
[root@etcd3 unix] # make isntall
|
安装gcc:
yum install gcc -y
wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable make
sudo make install
which redis-server
/usr/local/bin/redis-server
which redis-cli
/usr/local/bin/redis-cli