linux redis常用命令设置方法

admin 2017-06-29 0 次浏览

linux redis常用命令设置方法

  redis常用命令是常见的操作命令,下面由小编为大家整理了linux redis常用命令,希望大家喜欢!

  linux redis常用命令

  启动 Redis 服务

  src/redis-server或者src/redis-server redis.conf

  src/redis-server redis.conf 1>log.log 2>errlog.log

  1为标准输出,2为错误输出

  将 Redis 作为 Linux 服务随机启动

  vi /etc/rc.local, 加入代码:

请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。

原网页地址:https://www.5ixuexi.cc/xuexi/3572523.html