Refer to the various installation methods under the Internet to record their own installation steps
1. First install the work tool
To install GCC:
Yum Install gcc-c++
Installing TCL:
Yum-y Install tcl
2. Start installing Redis
cd/usr/local/srcwget http://download.redis.io/releases/redis-3.0.3.tar.gztar zxvf redis-2.8.19. TAR.GZCD Redis-2.8.19
Wait for the installation to complete and then enter the following code to test Redis
CD Srcmake Test
Configure Redis
After make succeeds, there are some more executables in the SRC directory: redis-server,redis-CLI and so on. During the convenient period, the CP command is copied to the USR directory for operation. CP Redis-server/usr/local/bin/cp redis-cli/usr/local/bin//etc//var//var /redis//var/redis//var/redis/6379/etc/redis/6379/var/redis/run// var/redis/log//var/redis/6379 last run Redis:
Redis 3 Installation Deployment