1. Download the latest stable version from the official website (http://redis.io)
2. Use the command to unzip the downloaded tar package: TAR–ZXVF redis-3.2.0.tar.gz
3. Enter the source directory via the command CD redis-3.2.0, execute the Make command (enter make directly and then enter. Redis-server, REDIS-CLI and other files will be generated in SRC directory after make
4. Directory unchanged, continue to execute make install, after execution will be generated in the/usr/local/bin directory Redis-server, REDIS-CLI and other files
5. Directory unchanged, execute./utils/install_server.sh configure Redis to boot with the system (some configuration will be asked during execution, you can directly enter without modification)
6. By Ps-ef|grep Redis command to see if the Redis process exists, the presence of Redis has started.
7. Start redis command: Service redis_6379 start
8. Turn off Redis command: Service redis_6379 stop
9. Restart Redis command: Service redis_6379 restart
10.Redis by default only from the local connection, so need to modify the configuration file, using VI open/etc/redis/6379.conf, you can see 62 lines of code for bind 127.0.0.1, change here to bind * Current machine ip*, for example
11. At this point, you can access Redis remotely on other machines.
CentOS Detailed Installation Redis step