First, download the latest version of the Redis cd/usr/local/src wget-c https://redis.googlecode.com/files/redis-2.6.14.tar.gz
Second, compile and install Redis TAR-ZXVF redis-2.6.14.tar.gz cd redis-2.6.14 make sudo do install you need to install the GCC program through Yum If you are not prompted for "GCC"
When the make command completes, 5 executable files are generated in the SRC directory, namely Redis-server, REDIS-CLI, Redis-benchmark, redis-check-aof, Redis-check-dump, They function as follows: The Redis-server:redis server's daemon launcher redis-cli:redis the command-line operation tool. Of course, you can also use Telnet to operate the Redis-benchmark:redis Performance test tool based on its plain text protocol, and test the read/write performance of Redis in your system and your configuration redis-check-aof: Update log check Redis-check-dump: for local database checking
The Make install command copies Redis commands to/usr/local/bin below
Reprint Source: HTTP://WWW.16BOKE.COM/ARTICLE/DETAIL/13