Django 安装_docker安装redis

2022-09-19 15:52:07 浏览数 (1)

大家好,又见面了,我是你们的朋友全栈君。

安装redis

1.使用Homebrew安装Redis

代码语言:javascript复制
brew install redis

执行上述命令后出现以下内容,则成功安装

代码语言:javascript复制
Download failed: https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/redis-6.0.9.big_sur.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://download.redis.io/releases/redis-6.0.9.tar.gz
######################################################################## 100.0%
==> make install PREFIX=/usr/local/Cellar/redis/6.0.9 CC=clang BUILD_TLS=yes
==> Caveats
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
==> Summary



	

0 人点赞