当前位置:网站首页>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 :
边栏推荐
- Jerry's RTC clock development [chapter]
- 【基于 RT-Thread Studio的CPK-RA6M4 开发板环境搭建】
- mos管實現主副電源自動切換電路,並且“零”壓降,靜態電流20uA
- Do you know the five most prominent advantages of E-bidding?
- LAB1配置脚本
- Under the tide of "going from virtual to real", Baidu AI Cloud is born from real
- C language string sorting
- VHDL实现任意大小矩阵乘法运算
- Centerx: open centernet in the way of socialism with Chinese characteristics
- 【colmap】已知相机位姿情况下进行三维重建
猜你喜欢
Appx code signing Guide
Mathematical induction and recursion
22.(arcgis api for js篇)arcgis api for js圆采集(SketchViewModel)
华为小米互“抄作业”
Depth analysis of compilation constants, classloader classes, and system class loaders
How to replace the backbone of the model
The solution of unable to create servlet file after idea restart
杰理之播内置 flash 提示音控制播放暂停【篇】
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
Significance and measures of source code confidentiality
随机推荐
Install torch 0.4.1
你知道电子招标最突出的5大好处有哪些吗?
Principle of attention mechanism
如何自定义Latex停止运行的快捷键
[dream database] add the task of automatically collecting statistical information
input_delay
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
Shell programming basics
unrecognized selector sent to instance 0x10b34e810
Leetcode-02 (linked list question)
About Estimation Statistics
体会设计细节
Intelligent static presence detection scheme, 5.8G radar sensing technology, human presence inductive radar application
变量、流程控制与游标(MySQL)
20.(arcgis api for js篇)arcgis api for js面采集(SketchViewModel)
HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅
树莓派设置静态ip
应用程序启动速度的优化
杰理之FM 模式单声道或立体声选择设置【篇】
【Swift】学习笔记(一)——熟知 基础数据类型,编码风格,元组,主张