標籤: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 <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:
以及
# ~~~ 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操作工具