当前位置:网站首页>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 :
边栏推荐
- Stored procedures and functions (MySQL)
- 变量、流程控制与游标(MySQL)
- Jerry's RTC clock development [chapter]
- 杰理之FM 模式单声道或立体声选择设置【篇】
- CVPR 2022 best paper candidate | pip: six inertial sensors realize whole body dynamic capture and force estimation
- 杰理之开 BLE 退出蓝牙模式卡机问题【篇】
- Household appliance industry under the "retail is king": what is the industry consensus?
- 「小样本深度学习图像识别」最新2022综述
- 房费制——登录优化
- 2022 information security engineer examination outline
猜你喜欢

Le tube MOS réalise le circuit de commutation automatique de l'alimentation principale et de l'alimentation auxiliaire, et la chute de tension "zéro", courant statique 20ua

Flink Task退出流程与Failover机制

制作(转换)ico图标

Variables, process control and cursors (MySQL)

Mathematical induction and recursion

Create applet from 0

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

Function reentry, function overloading and function rewriting are understood by yourself

源代码保密的意义和措施

Laravel php artisan 自动生成Model+Migrate+Controller 命令大全
随机推荐
[untitled]
cocos3——8. Implementation Guide for beginners
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
编译常量、ClassLoader类、系统类加载器深度探析
opencv环境的搭建,并打开一个本地PC摄像头。
Laravel php artisan 自动生成Model+Migrate+Controller 命令大全
Domcontentloaded and window onload
leetcode-02(链表题)
Install torch 0.4.1
亚像素级角点检测Opencv-cornerSubPix
C language string sorting
【安全的办公和生产力应用程序】上海道宁为您提供ONLYOFFICE下载、试用、教程
sshd[12282]: fatal: matching cipher is not supported: [email protected] [preauth]
Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
房费制——登录优化
杰理之FM 模式单声道或立体声选择设置【篇】
Matlab Error (Matrix dimensions must agree)
Simple bubble sort
1200.Minimum Absolute Difference
Under the tide of "going from virtual to real", Baidu AI Cloud is born from real