回顾 Homebrew
的命令
1 | brew search ** //查找某个软件包 |
另外,如果嫌麻烦的话,可以按下面的方式添加命令别名:
1 | alias brewski='brew update && brew upgrade && brew cleanup; brew doctor' |
用 Homebrew
来安装 Redis
首先我们查看下已有的 Redis
各个版本:
1 | brew search redis |
输出如下,我们以安装 Redis
版本为例进行说明:
1 | ==> Formulae |
安装命令:
1 | brew install redis |
启动 Redis
:
1 | redis-server |
最后可以采用如下命令检查 Redis
是否启动成功:
1 | 查看端口是否在 |
If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !