安装步骤
请参考 https://blog.csdn.net/typa01_kk/article/details/81436845
PS:需要通过命令:./redis-server & 后不会因为离开而关闭redis
redis.conf 配置文件
1.配置其他ip可用 :bind 0.0.0.0
2.设置密码:requirepass 123456
3.开启远程:protected-mode no
启动服务(根据自己的位置):./redis-server& /redis.conf
请参考 https://blog.csdn.net/typa01_kk/article/details/81436845
PS:需要通过命令:./redis-server & 后不会因为离开而关闭redis
redis.conf 配置文件
1.配置其他ip可用 :bind 0.0.0.0
2.设置密码:requirepass 123456
3.开启远程:protected-mode no
启动服务(根据自己的位置):./redis-server& /redis.conf