The primary installation and use Redis

env:ubuntu 19.04 

installation steps:

1.wget http://download.redis.io/releases/redis-5.0.7.tar.gz

2.tar xzf redis-5.0.7.tar.gz

3.cd repeat-5.0.7

4.make

 

start up:

There src folder under the installation directory,

Start terminal A, cd into the redis-5.0.7 / src, then redis-server can be performed.

 

use:

Start terminal B, cd into the redis-5.0.7 / src, then execute cmdline redis-cli enter operation redis

Enter the set name blog, Enter

Enter get name, press Enter to get the string: "blog"

 

enjoy

Guess you like

Origin www.cnblogs.com/iamplus/p/12334244.html