当前位置:网站首页>Ubuntu20 installation redisjson record
Ubuntu20 installation redisjson record
2022-07-07 03:25:00 【Xiaojunjun's blog】
ubuntu20 install redisjson Record
One 、 Download the file
https://github.com/RedisJSON/RedisJSON/releases
find 1.0.4 edition , download rejson.so
Two 、 Copy files to the specified folder
sudo cp ./src/rejson.so /usr/lib/
./src/rejson.so Download for you rejson.so Folder .
3、 ... and 、 Modify the configuration file
sudo gedit /etc/redis/redis.conf
In the 40 Add a few lines or so
loadmodule /usr/lib/rejson.so

restart redis
sudo systemctl restart redis
Four 、 test
Turn on redis
redis-cli
Input
json.set abc . '{"a":"1","b":"2","c":"3"}'
If you return ok that will do 
5、 ... and 、 Add
1. stay redisjson in ,json Stored format problem escape character 
stay redisjson Enter the command json.get when , You can see that the storage format changes a little , This is reflected in C++ In the code , The input data format also needs to be adjusted accordingly . Pay attention to the application of escape characters , Here's the picture :
边栏推荐
- Netperf and network performance measurement
- R数据分析:cox模型如何做预测,高分文章复现
- MOS transistor realizes the automatic switching circuit of main and auxiliary power supply, with "zero" voltage drop and static current of 20ua
- Lingyun going to sea | yidiantianxia & Huawei cloud: promoting the globalization of Chinese e-commerce enterprise brands
- 杰理之在非蓝牙模式下,手机连接蓝牙不要跳回蓝牙模式处理方法【篇】
- Matlab Error (Matrix dimensions must agree)
- Laravel php artisan 自动生成Model+Migrate+Controller 命令大全
- 装饰设计企业网站管理系统源码(含手机版源码)
- 上个厕所的功夫,就把定时任务的三种调度策略说得明明白白
- 华为小米互“抄作业”
猜你喜欢

R数据分析:cox模型如何做预测,高分文章复现
![[cpk-ra6m4 development board environment construction based on RT thread studio]](/img/08/9a847c73d6da6fc74d84af56897752.png)
[cpk-ra6m4 development board environment construction based on RT thread studio]

Decoration design enterprise website management system source code (including mobile source code)

代码质量管理

About Confidence Intervals

OC, OD, push-pull explanation of hardware

【基于 RT-Thread Studio的CPK-RA6M4 开发板环境搭建】

杰理之开启经典蓝牙 HID 手机的显示图标为键盘设置【篇】

编译常量、ClassLoader类、系统类加载器深度探析

Mathematical induction and recursion
随机推荐
HDU 4337 King Arthur' S Knights it outputs a Hamiltonian circuit
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
小程序能运行在自有App中,且实现直播和连麦?
Cocos2d-x Box2D物理引擎编译设置
Cocos2d-x box2d physical engine compilation settings
安装 torch 0.4.1
Decoration design enterprise website management system source code (including mobile source code)
“去虚向实”大潮下,百度智能云向实而生
体会设计细节
Appx code signing Guide
Household appliance industry under the "retail is king": what is the industry consensus?
华为小米互“抄作业”
Lingyun going to sea | yidiantianxia & Huawei cloud: promoting the globalization of Chinese e-commerce enterprise brands
leetcode
Flink Task退出流程与Failover机制
Create applet from 0
杰理之关于 DAC 输出功率问题【篇】
leetcode-02(链表题)
Simple bubble sort
Sub pixel corner detection opencv cornersubpix