centos5.5安装redis-2.0.4
在安装redis的过程中,缺少tclsh8.5
wget http://nchc.dl.sourceforge.net/project/tcl/Tcl/8.5.11/tcl8511-src.zip
? unzip tcl8511-src.zip
? cd tcl8.5.11/
? cd unix/
? ./configure
? make
? make install
?
修改/etc/redis.conf中daemonize no改成yes
是否以后台进程运行,默认为no
daemonize yes
?
?
[root@localhost redis-2.0.4]# redis-cli
?
redis> set test hello,redis
OK
redis> get test
"hello,redis"
redis>