Windows 下面的 redis GUI操作工具

2021-03-30 11:24

阅读:322

标签:int   def   修改   访问   参数   default   bin   follow   des   

1. 下载地址

redisdesktop

https://redisdesktop.com/download

2. 下载windows版本并且进行安装

处理redis 的参数 

根据上面的一篇博客 采取了 自动启动的redis 的处置

参数文件也变成了 /etc/redis/6379.conf

所以修改这个配置文件

vim /etc/redis/6379.conf
#修改点1 bind
将bind 修改为 0.0.0.0
这样其他机器都可以远程访问

增加requirepass 参数 保证redis 不是随机访问的 必须私用密码

requirepass Test6530

修改点

# If the master is password protected (using the "requirepass" configuration
# directive below) it is possible to tell the slave to authenticate before
# starting the replication synchronization process, otherwise the master will
# refuse the slave request.
#
# masterauth 
requirepass Test6530
# When a slave loses its connection with the master, or when the replication
# is still in progress, the slave can act in two different ways:

以及

# ~~~ WARNING ~~~ If the computer running Redis is directly exposed to the
# internet, binding to all the interfaces is dangerous and will expose the
# instance to everybody on the internet. So by default we uncomment the
# following bind directive, that will force Redis to listen only into
# the IPv4 lookback interface address (this means Redis will be able to
# accept connections only from clients running into the same computer it
# is running).
#
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
# JUST COMMENT THE FOLLOWING LINE.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind 0.0.0.0

3. 安装redisdesktop

过程简单 略过

技术分享图片

 

 操作界面

技术分享图片

 

Windows 下面的 redis GUI操作工具

标签:int   def   修改   访问   参数   default   bin   follow   des   

原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/9279103.html


评论


亲,登录后才可以留言!