redis服务安装(ubuntu)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u014132947/article/details/86599704

https://redis.io/download

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-5.0.3.tar.gz
$ tar xzf redis-5.0.3.tar.gz
$ cd redis-5.0.3
$ make

The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server

You can interact with Redis using the built-in client:

$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

猜你喜欢

转载自blog.csdn.net/u014132947/article/details/86599704