简单记录一下

redis的官网:https://redis.io/

官网介绍:

Installation

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-3.2.9.tar.gz
$ tar xzf redis-3.2.9.tar.gz
$ cd redis-3.2.9
$ 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"

报错问题如下:

Linux下Reids的安装和使用

修改redis.conf 

注释掉bind IP

将protected-mode 设置为no

 

服务端启动:redis-server redis.conf

客户端连接: redis-cli -h pid -p 6379

 

 







相关文章:

  • 2021-04-12
  • 2021-04-11
  • 2021-11-01
  • 2021-12-17
  • 2022-01-03
  • 2022-02-16
猜你喜欢
  • 2022-12-23
  • 2021-04-05
  • 2021-04-05
  • 2021-10-26
  • 2021-04-27
  • 2021-08-06
相关资源
相似解决方案