Official website: http: //redis.cn/
Download using wget in / usr / local / src inside
wget http://download.redis.io/releases/redis-5.0.4.tar.gz
Decompression
takes zxf redis-5.0.4.tar.gz
Extraction is completed, open the directory
cd-repeat 5.0.4
If you are 64 operating system
the make // installed directly
If you are 32 operating system
32bit the make // installed directly
Start the server
cd src
./redis-server // using the default configuration file
Start the client
./redis-cli