Installation
System: centos6.4
redis Download: http://www.redis.cn/download.html
Redis installation steps:
upload source package to/lamp
decompression: TAR-ZXVF redis.tar.gz
CD Redis
make/compile source, first installed Linux system This step may be reported in the following error
CC ADLIST.O/bin/sh:cc:command not
found
need to install GCC
yum installed gcc
after installation needs to delete redis files, re-decompression, because in the original file make or will be reported the same error
RM zxvf Redis
Decompression: TAR-ZXVF redis.tar.gz
CD Redis make
//compile source
cd src make
Install//installer
for ease of administration the redis.conf Redis-server REDIS-CLI these 3 into/usr/local/redis/directory
last into redis.conf
modify Daemonize No for daemonize Yes #后台运行
To this Redis installation is complete
Start the service
Redis-server redis.conf
Close Service
REDIS-CLI shutdown
Client Startup
Redis-cli