如何在MacBook M1上安装Redisjson?

发布于 2025-02-13 12:40:26 字数 116 浏览 0 评论 0原文

我尝试了redisjson版本v1.0.4并使用rejson.so文件,但这不是马赫文件。

如何在MacBook M1上安装Redisjson?是否有任何制作代码的方法(除了使用Docker ...)谢谢

I tried redisJson version v1.0.4 and use the rejson.so file, but it's not a mach-o file.

How to install RedisJson on Macbook M1? Are there any methods to make the code (apart from using docker...) Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

子栖 2025-02-20 12:40:27

只需解决问题并在我的MBP M1上安装Redisjson即可。

  1. git克隆回购,使用2.x版本(我使用v2.0.8)。
  2. CD进入仓库& amp; 如果您遇到错误,请访问
  3. 以下错误:
make setup deps/readies/mk/main:6: *** GNU Make version is too old. Aborting. stop.

转到https://www.gnu.org/software/make/下载最新的经历(我记得它是2020年左右)使用tar- ZXVF将其解压缩

  1. CD redisjson/,使用/path/to/make-4.3/make

  2. 您将在bin/macos-x64 real下找到一个rejson.so文件,复制
    /usr/local/bin

  3. ,在redis.conf中,添加loadmodule'/usr/local/bin/bin/rejson.so'

  4. redis-server redis.conf它应该工作(检查日志文件)

    >

需要一些时间才能弄清楚这一点。感谢一些博客更新
获得rejson.so

Just solve the problem and install redisjson on my mbp M1.

  1. git clone the repo, use 2.x version (I used v2.0.8).
  2. cd into the repo && make
  3. If you meet errors like:
make setup deps/readies/mk/main:6: *** GNU Make version is too old. Aborting. stop.

go to https://www.gnu.org/software/make/ to download the latest verison (I remember it is around year 2020) use tar -zxvf to unzip it

  1. cd into RedisJson/, use /path/to/make-4.3/make

  2. You will find a rejson.so file under bin/macos-x64-release, copy
    that into /usr/local/bin

  3. in redis.conf, add the line loadmodule '/usr/local/bin/rejson.so'

  4. redis-server redis.conf it should work (check the log file)

It takes some time to figure out this. Thanks to some blogs update make
and get rejson.so

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文