1. installation environment, VM + centos6.5ps: If yum is installed, the first step is as follows: install mkdir/usr/redis new redis directory CD/usr/redis enter the directory wget http://download.redis.io/releases/redis-2.8.13.tar.gz download 2.8.13 installation package PS: If wget shows no such command, please first Yum install wgettar zxf redis-2.8.13.tar.gz unzip CD redis-2.8.13.tar.gz into the directory make compile PS: If the prompt make failed, please first Yum install GCC, tclmake install compile install make test compile check Step 2: configure CP/usr/redis/redis-2.8.13.tar.gz/utils/redis_init_script/etc/init. d/redis_61_mkdir/etc/redismkdir/etc/redis/6379cp/usr/redis/redis-2.8.13.tar.gz/redis. conf/etc/apsaradb for redis/6379. conf = ========================================= Vim 6379. confps: If the prompt that the vim command does not exist, you can use VI to replace the following parameters: daemonize yespidfile/var/run/redis_62.16.pidport 62.16dir/etc/redis/6379 ==================== ========================================================== step 3: start/etc/init. d/redis_6379 start