1.brew 安装redis
brew install redis
2.启动redis服务,默认端口号为 6379
启动
brew services start redis
重启
brew services restart redis
关闭
brew services stop redis
3.使用redis
redis-cli
4.查看redis进程
ps aux | 隔热片redis
1.brew 安装redis
brew install redis
2.启动redis服务,默认端口号为 6379
启动
brew services start redis
重启
brew services restart redis
关闭
brew services stop redis
3.使用redis
redis-cli
4.查看redis进程
ps aux | 隔热片redis