1) Install the Redis-compiled C environment, yum install gcc-c++
2) upload the redis-2.6.16.tar.gz to the Linux system
3) extract to /usr/local under TAR-XVF redis-2.6.16.tar.gz-c/usr/local
4) Enter the redis-2.6.16 directory using the Make command to compile Redis
5) Install Redis into/usr/local/redis using the Make Prefix=/usr/local/redis Install command in the redis-2.6.16 directory
6) copy the redis.conf in redis-2.6.16 to the installation directory Redis
7) start Redis to execute commands under bin Redis-server redis.conf
8) If you need to remotely connect to Redis, you need to configure Redis port 6379 to be developed in the Linux firewall
/sbin/iptables-i input-p TCP--dport 6379-j ACCEPT
/etc/rc.d/init.d/iptables Save
after starting to see the Welcome page as above, but this window cannot be closed, the window closes and the Redis is considered closed (class like Tomcat through the bin of the Startup.bat Way)
Solution: You can modify the configuration file by Configure Redis background boot, where the server starts but does not wear a console window
Modify the Daemonize in the redis.conf file from false to true to indicate background startup
Use the command to see if Port 6379 starts Ps-ef | grep Redis
Redis installation in Linux