zoukankan      html  css  js  c++  java
  • redis 命令

    项目中链接哨兵的配置文件要与 服务器 redis 中的配置文件 sentinel.conf 中的mymaster 一致

            

    启动哨兵

      bin/redis-sentinel redis-3.0.5/sentinel.conf --sentinel

    指定ip 端口(往redis 写数据)

         $ ./redis-cli -h 135.10.51.51 -p 7000

      $ ./redis-cli -c -p 7000

    查看端口占用

      lsof -i :26379

  • 相关阅读:
    Aizu
    Aizu
    POJ
    POJ
    POJ
    UVA
    manacher
    Gym
    Gym
    Gym
  • 原文地址:https://www.cnblogs.com/sufi/p/5332306.html
Copyright © 2011-2022 走看看