当前位置:网站首页>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 :
边栏推荐
- 美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
- Optimization of application startup speed
- Make (convert) ICO Icon
- Jerry's question about DAC output power [chapter]
- SQL Tuning Advisor一个错误ORA-00600: internal error code, arguments: [kesqsMakeBindValue:obj]
- Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
- sshd[12282]: fatal: matching cipher is not supported: aes256- [email protected] [preauth]
- VHDL实现任意大小矩阵加法运算
- Install torch 0.4.1
- Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
猜你喜欢

Uniapp adaptation problem

Experience design details

23.(arcgis api for js篇)arcgis api for js椭圆采集(SketchViewModel)

图形化工具打包YOLOv5,生成可执行文件EXE

数学归纳与递归

Depth analysis of compilation constants, classloader classes, and system class loaders

input_delay

代码质量管理

2022.6.28

Don't you know the relationship between JSP and servlet?
随机推荐
The latest 2022 review of "small sample deep learning image recognition"
Appx code signing Guide
About Confidence Intervals
HDU ACM 4578 Transformation-> Segment tree - interval change
Tencent cloud native database tdsql-c was selected into the cloud native product catalog of the Academy of communications and communications
mos管實現主副電源自動切換電路,並且“零”壓降,靜態電流20uA
[swift] learning notes (I) -- familiar with basic data types, coding styles, tuples, propositions
数学归纳与递归
美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
校招行测笔试-数量关系
Shell programming basics
Development of wireless communication technology, cv5200 long-distance WiFi module, UAV WiFi image transmission application
Don't you know the relationship between JSP and servlet?
Matlab Error (Matrix dimensions must agree)
The version control of 2021 version is missing. Handling method
尚硅谷JVM-第一章 类加载子系统
[colmap] 3D reconstruction with known camera pose
Centerx: open centernet in the way of socialism with Chinese characteristics
R数据分析:cox模型如何做预测,高分文章复现