mac通过homebrew安装redis及相关命令操作
来源:互联网 发布:java贪吃蛇大作战源码 编辑:程序博客网 时间:2024/05/22 14:15
Let’s install Redis for the good.
$ brew install redis
After installation, you will see some notification about some caveats on configuring. Just leave it and continue to following some tasks on this article.
Launch Redis on computer starts.
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Start Redis server via “launchctl”.
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Start Redis server using configuration file.
$ redis-server /usr/local/etc/redis.conf
Stop Redis on autostart on computer start.
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Location of Redis configuration file.
/usr/local/etc/redis.conf
Uninstall Redis and its files.
$ brew uninstall redis$ rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Get Redis package information.
$ brew info redis
Test if Redis server is running.
$ redis-cli ping
If it replies “PONG”, then it’s good to go!
Shutdown Redis server.
$ redis-cli shutdown
Get help.
$ redis-cli help @server
Well, I guess, that’s it!
Have fun Redis-ing ☺
0 0
- mac通过homebrew安装redis及相关命令操作
- 在mac上通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- Mac下通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- Mac下通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- MAC下通过Homebrew安装nginx
- Mac下通过Homebrew安装配置MySQL
- Mac下通过Homebrew安装MySQL
- Mac下通过Homebrew安装MySQL
- Mac下通过Homebrew安装MySQL
- mac os通过homebrew安装docker
- Mac OS X 通过Homebrew安装Go
- Mac 通过 Homebrew 安装 R 和 RStudio
- Mac OS 安装Homebrew及在Homebrew下安装opencv
- Mac安装Homebrew和常用brew命令
- Redis的数据类型及相关操作命令
- *p++和*++p
- 特殊回文数
- ImageView.ScaleType详解(多图)
- 【数据结构】邻接矩阵表示法的图的深度广度优先遍历递归和非递归遍历
- 【LCT】BZOJ 3669: [Noi2014]魔法森林
- mac通过homebrew安装redis及相关命令操作
- php通过字符串调用函数示例
- nhandled exception in thread started by <function wrapper at 0x035BA3F0>
- 关于Calendar和java.util.Date.Date()一些笔记(知识不停累积中)。
- 透过浏览器看HTTP缓存
- Xcode重构,不懂这些你就 out了!
- github发布开源项目代码教程
- ios 弹出键盘 顶端navigationbar 会上移
- shell实现多线程笔记