1. Official site:https://github.com/antirez/redis/releases
2. Compile and Setup
Tar zxf redis-3.2.6.tar.gz
CD Redis-3.2.6/deps
Export arch=
Make Geohash-int
Make Hiredis
Make Jemalloc
Ls
Make Linenoise
Make Lua
Cd..
Make
Make install
sudo./utils/install_server.sh (parameter All default)
3. Maintenance Instructions
Service redis_6379 Status
Service redis_6379 Stop
Service redis_6379 Start
Redis-cli
Redis configuration file/etc/redis/6379.conf
Grep-e-V "^#"/etc/redis/6379.conf |sed '/^$/d '
4. Configuration
/etc/redis/6379.conf
Due to the security policy adopted by Redis, only local access is allowed by default, and the configuration file above is modified.
Put the bind 127.0.0.1 comment off, and then change the protected-mode to No, set the password Requirepass,
Can be viewed with Windows client maintenance: Download Redisdesktopmanager (https://redisdesktop.com/)
After you set the password, redis-cli the connection, and then enter Auth Password1
5. Common Directives
Slightly
6. Reference:
http://blog.csdn.net/cuibruce/article/details/53501532
Http://www.cnblogs.com/kmonkeywyl/p/5728062.html
Redis 3.2.6 on Ubuntu 14.04