• mac 安装redis


    shw@mac ruoyi % brew install redis

    ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/ca

    ######################################################################## 100.0%

    ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/op

    ######################################################################## 100.0%

    ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/re

    ######################################################################## 100.0%

    ==> Installing dependencies for redis: ca-certificates and openssl@1.1

    ==> Installing redis dependency: ca-certificates

    ==> Pouring ca-certificates-2022-02-01.all.bottle.tar.gz

    ==> Regenerating CA certificate bundle from keychain, this may take a while...

      /opt/homebrew/Cellar/ca-certificates/2022-02-01: 3 files, 213.4KB

    ==> Installing redis dependency: openssl@1.1

    ==> Pouring openssl@1.1-1.1.1m.arm64_monterey.bottle.tar.gz

      /opt/homebrew/Cellar/openssl@1.1/1.1.1m: 8,081 files, 18MB

    ==> Installing redis

    ==> Pouring redis-6.2.6.arm64_monterey.bottle.tar.gz

    ==> Caveats

    To restart redis after an upgrade:

      brew services restart redis

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

      /opt/homebrew/opt/redis/bin/redis-server /opt/homebrew/etc/redis.conf

    ==> Summary

      /opt/homebrew/Cellar/redis/6.2.6: 14 files, 2MB

    ==> Running `brew cleanup redis`...

    Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

    Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

    ==> Caveats

    ==> redis

    To restart redis after an upgrade:

      brew services restart redis

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

      /opt/homebrew/opt/redis/bin/redis-server /opt/homebrew/etc/redis.conf

  • 相关阅读:
    springCloud学习6(Spring Cloud Sleuth 分布式跟踪)
    springCloud学习5(Spring-Cloud-Stream事件驱动)
    springCloud学习4(Zuul服务路由)
    springCloud学习3(Netflix Hystrix弹性客户端)
    springCloud学习笔记2(服务发现)
    EFCore
    webBrowser.DocumentText重新赋值无效解决方法
    C# SQLite写入和读取DateTime类型
    自定义协议链接 ------2.实践篇
    自定义协议链接 ------1.原理篇
  • 原文地址:https://www.cnblogs.com/myibm/p/15978232.html
Copyright © 2020-2023  润新知