XML code:
[Email protected] src]# wget-c http://redis.googlecode.com/files/redis-2.4.7.tar.gz [[email protected] src]# TAR-ZXV- f redis-2.4.7.tar.gz [[email protected] src]# cd/usr/local/src/redis-2.4.7 [[email protected] redis-2.4.7]# make #编译, After compiling, you can test and use it, but in order to make the backend service, it is best to install it on the system [[email protected] redis-2.4.7]# made install #安装会把redis的命令被拷贝到/usr/local/bin below
Configure redis.conf
[[email protected] redis-2.4.7]# CP./redis.conf/etc/redis.conf change Daemonize No to daemonize yes so that when you start Redis it will be back-end service UserA DD Redis mkdir-p/var/lib/redis mkdir-p/var/log/redis chown Redis.redis/var/lib/redis #db文件放在这里, to modify the Dir genus Redis.conf Of
This article from "Dot Drip" blog, reproduced please contact the author!
centos6.5 Installing Redis