zoukankan      html  css  js  c++  java
  • Redis客户端

    工具说明

    常用的Redis客户端工具有两个,一个是redis-desktop-manager(收费),一个是redisplus(免费)。它们都是Redis的图形化界面工具。

    使用redis-desktop-manager可以看到层级关系:

    使用redisplus没有层级关系:

    准备

    1、要连接远程的Linux上的Redis需要关闭linux防火墙:

    Centos6
    查看防火墙状态: 
    [root@centos6 ~]# service iptables status
    iptables:未运行防火墙。
    开启防火墙:
    [root@centos6 ~]# service iptables start
    关闭防火墙:
    [root@centos6 ~]# service iptables stop
    
    centos7
    查看防火墙状态: 
    firewall-cmd --state
    关闭防火墙
    systemctl stop firewalld.service
    开启防火墙
    systemctl start firewalld.service
    禁用防火墙
    systemctl disable firewalld.service 
    

    2、修改redis.conf里面的bind为0.0.0.0

    bind 0.0.0.0
    

    3、修改redis.conf里面的密码

    requirepass 123456 
    

    4、验证密码是否成功

    redis-desktop-manager

    下载

    进入Redis Desktop Manager在github的发行版(免费版)页面:https://github.com/uglide/RedisDesktopManager/releases/tag/0.9.3

    安装

    傻瓜式安装:Next >> I Agree >> Install >> Next >> Finish

    连接

    redisplus

    gitee地址:https://gitee.com/MaxBill/RedisPlus

    安装:傻瓜式安装

    连接

    连接成功

    Iedis

    Iedis是IDEA中连接Redis的可视化插件。

    安装:Settings→Plugins搜索,安装后要重启IDEA。

    // 如果你没有改动IDEA的话,IDEA的插件库在这个目录下
    C:UsersAdministrator.IntelliJIdea2019.1configpluginsIedislib
    
    // 里面有个jar叫 iedis-x.x.x.jar
    // x.x.x是版本号
    // 把这个jar包删除
    // 点击破解包下载链接下载破解包,连接地址:http://www.awei.org/download/iedis-2.41.jar
    // 把这个jar放到C:UsersAdministrator.IntelliJIdea2019.1configpluginsIedislib目录下
    // 重启IDEA就好了
    

    连接Redis

    coydone的博客
  • 相关阅读:
    python+opencv实现图像自适应阈值的均衡化
    ubuntu添加新的分辨率选项(干货)
    python+opencv检测图像清晰度
    python根据列表创建文件夹,拷贝指定文件
    牛客多校Round 4
    牛客多校Round 3
    HDU多校Round 2
    HDU多校Round 1
    牛客多校Round 2
    牛客多校Round 1
  • 原文地址:https://www.cnblogs.com/coydone/p/13920898.html
Copyright © 2011-2022 走看看