redis实操踩坑--持续更新

Ubuntu集群构建篇

redis-cli:不跟参数,默认访问localhost:6379端口,无密码登陆

  redis-cli -h ${host} -p ${port} -a ${password}

redis-server ${redis.conf}:这里注意配置文件

  配置文件redis.conf,相关目录需提前创建,否则报错 No such file or directory

配置参数,按需配置。

猜你喜欢

转载自www.cnblogs.com/nyatom/p/9118046.html