Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/ethan__xu/article/details/89303004
Open the console input
$ wget http://download.redis.io/releases/redis-5.0.4.tar.gz
$ tar xzf redis-5.0.4.tar.gz
$ cd redis-5.0.4
$ make
The second step to start redis
$ Src / redis-server
start the next chart appears redis
The third step is to test whether the normal use of the client
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
“bar”