当前位置:网站首页>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 :
边栏推荐
- Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
- Development of wireless communication technology, cv5200 long-distance WiFi module, UAV WiFi image transmission application
- unrecognized selector sent to instance 0x10b34e810
- SQL中删除数据
- Codeforces Round #264 (Div. 2) C Gargari and Bishops 【暴力】
- Principle of attention mechanism
- Jerry's question about DAC output power [chapter]
- Experience design details
- New benchmark! Intelligent social governance
- cocos3——8. Implementation Guide for beginners
猜你喜欢
mos管實現主副電源自動切換電路,並且“零”壓降,靜態電流20uA
Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
Open3D 网格滤波
如何自定义Latex停止运行的快捷键
20.(arcgis api for js篇)arcgis api for js面采集(SketchViewModel)
Create applet from 0
Hazel engine learning (V)
从0开始创建小程序
Laravel php artisan 自动生成Model+Migrate+Controller 命令大全
上个厕所的功夫,就把定时任务的三种调度策略说得明明白白
随机推荐
pip只下载不安装
sshd[12282]: fatal: matching cipher is not supported: [email protected] [preauth]
HDU ACM 4578 Transformation-> Segment tree - interval change
Intelligent static presence detection scheme, 5.8G radar sensing technology, human presence inductive radar application
What about SSL certificate errors? Solutions to common SSL certificate errors in browsers
【无标题】
[tools] basic concept of database and MySQL installation
2022.6.28
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
安装 torch 0.4.1
SQL中删除数据
图形化工具打包YOLOv5,生成可执行文件EXE
The solution of unable to create servlet file after idea restart
sshd[12282]: fatal: matching cipher is not supported: aes256- [email protected] [preauth]
Stored procedures and functions (MySQL)
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
尚硅谷JVM-第一章 类加载子系统
leetcode
Principle of attention mechanism
CVPR 2022 best paper candidate | pip: six inertial sensors realize whole body dynamic capture and force estimation