Redis Twemproxy集群
yum install gcc tcl# tar xvf redis-2.8.9.tar.gz
# cd redis-2.8.9
#
…
Hint: To run 'make test' is a good idea ;)
make: Leaving directory `/usr/local/src/redis-2.8.9/src'
#
All tests passed without errors!
Cleanup: may take some time... OK
make: Leaving directory `/usr/local/src/redis-2.8.9/src'
#
# ll /usr/local/bin/
# ll
total 13908
-rwxr-xr-x. 1 root root 4170264 Apr 26 11:51 redis-benchmark
-rwxr-xr-x. 1 root root 22185 Apr 26 11:51 redis-check-aof
-rwxr-xr-x. 1 root root 45419 Apr 26 11:51 redis-check-dump
-rwxr-xr-x. 1 root root 4263471 Apr 26 11:51 redis-cli
-rwxr-xr-x. 1 root root 5726791 Apr 26 11:51 redis-server
# cp redis.conf /etc/
# vim /etc/red
redhat-releaseredis.conf
# vim /etc/redis.conf
把里面的
daemonize no修改成 daemonize yes
启动redis
# redis-server /etc/redis.conf
后面的redis服务安装这个安装就好(注意测试没有任何参数设置)
页:
[1]