1. 下載地址redis
redisdesktopvim
https://redisdesktop.com/download
2. 下載windows版本而且進行安裝windows
處理redis 的參數 ui
根據上面的一篇博客 採起了 自動啓動的redis 的處置this
參數文件也變成了 /etc/redis/6379.confspa
因此修改這個配置文件3d
vim /etc/redis/6379.conf #修改點1 bind 將bind 修改成 0.0.0.0 這樣其餘機器均可以遠程訪問 增長requirepass 參數 保證redis 不是隨機訪問的 必須私用密碼 requirepass Test6530
修改點code
# 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 <master-password> 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:
以及blog
# ~~~ 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
將保護模式關掉
protected-mode yes
將yes 修改成 no .
3. 安裝redisdesktop博客
過程簡單 略過
操做界面