macOS 安装 Redis
macOS Redis About 620 wordsbrew
确保HomeBrew
已经安装。
brew --version
安装
brew install redis
运行
后台进程运行
启动服务
brew services start redis
查看状态
brew services start redis
输出
❯ brew services info redis ─╯
redis (homebrew.mxcl.redis)
Running: ✔
Loaded: ✔
Schedulable: ✘
User: fendoudebb
PID: 76863
关闭服务
brew services stop redis
前台进程运行
命令行中执行redis-server
,会阻塞命令行直到结束运行。
Ctrl-C
结束运行。
redis-server
连接到 Redis
redis-cli
参考文档
https://redis.io/docs/getting-started/installation/install-redis-on-mac-os
Views: 880 · Posted: 2023-05-23
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...