1. Installing Redis
Weget http://download.redis.io/releases/redis-3.2.6.tar.gz
Unzip and move to a customized folder (/software/redis)
Unzip command TAR-ZXVF file name
Move command MV Current folder destination folder
Final structure:/software/redis/
2. Execute commands to the Redis directory
# make
# make Install
The default is/usr/local/bin/after installation is complete
The directory below can be seen
Redis-server and so on file, the installation is successful, this time can run to see if Redis can start normally
Enter the bin directory and start the command:./redis-server
The runtime is modifying the Redis configuration file
Vi/software/redis/redis-3.2.6/redis.conf
Bind 192.168.1.110 #本机ip
Daemonize Yes #后台运行配置
Run-time run by starting modified conf file
./redis-server/software/redis/redis-3.2.6/redis.conf
Add Redis Password
Configuration file
# Requirepass Foobared
Remove the comment and change it to a password
Requirepass 12345678
Save exit, restart Redis
Installing Redis and Redis background running and clustering in Linux