从周三开始重装公司内部的SVN服务器到今天,其中经历各种散漫懒惰无知,到现在就是装好了系统,配置好了静态IP,装上了SVN,囧啊。
make: *** [all] Error 2
You need 'tclsh8.5' in order to run the Redis test
make[1]: *** [test] Error 1
正所谓不做无所谓,动手才知道自己差多少,感觉真心有很多东西不会啊。以前装系统配置环境的经验都忘记干净了,在囧下。
现在正在配置redis
在/usr/local/src/下
tar zxvf redis-2.4.17.tar.gz
cd redis-2.4.17
make
然后问题就出现啦
make[2]: gcc: Command not found
make[2]: *** [net.o] Error 127
make[2]: Leaving directory `/usr/local/src/redis-2.4.17/deps/hiredis'
make[1]: *** [dependencies] Error 2
make[1]: Leaving directory `/usr/local/src/redis-2.4.17/src'
make: *** [all] Error 2
囧,GCC木安装
yum install gcc
然后继续
make
test
make[1]: Entering directory `/usr/local/src/redis-2.4.17/src'
which: no tclsh8.5 in (/usr/lib64/qt- 3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
You need 'tclsh8.5' in order to run the Redis test
make[1]: *** [test] Error 1
cd unix/ 然后就跟着官网的教程走吧
好了,继续make redis
make test
make install
vim /etc/redis.conf
daemonize yes #是否后台进程(yes/
no
)
启用reids
/usr/local/bin/redis-server /etc/redis.conf
ps -ef | grep redis
宾果,完事大吉
redis-cli 搞她去吧。^_^!