markdown Brew在Mac上安装Redis

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Brew在Mac上安装Redis相关的知识,希望对你有一定的参考价值。

type below:

```
brew update
brew install redis
```

To have launchd start redis now and restart at login:
```
brew services start redis
```

Or, if you don't want/need a background service you can just run:

```
redis-server /usr/local/etc/redis.conf
```

Test if Redis server is running.

```
redis-cli ping
```
If it replies “PONG”, then it’s good to go!

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
```

以上是关于markdown Brew在Mac上安装Redis的主要内容,如果未能解决你的问题,请参考以下文章

mac中怎样通过brew 安装php的redis扩展

Mac brew安装redis

mac中怎样通过brew 安装php的redis扩展

mac中怎样通过brew 安装php的redis扩展

mac中怎样通过brew 安装php的redis扩展

mac中怎样通过brew 安装php的redis扩展