当前位置:网站首页>Ubuntu 20 installation des enregistrements redisjson
Ubuntu 20 installation des enregistrements redisjson
2022-07-07 03:25:00 【Le blog de Joon Joon Joon】
ubuntu20InstallationredisjsonEnregistrement
Un.、Télécharger le fichier
https://github.com/RedisJSON/RedisJSON/releases
Trouver1.0.4Version,Téléchargerrejson.so
2.、Copier le fichier dans le dossier spécifié
sudo cp ./src/rejson.so /usr/lib/
./src/rejson.soTélécharger pour vousrejson.soDossier pour.
Trois、Modifier le profil
sudo gedit /etc/redis/redis.conf
En40Ajouter quelques lignes à gauche et à droite
loadmodule /usr/lib/rejson.so

Redémarrerredis
sudo systemctl restart redis
Quatre、Tests
Ouvertredis
redis-cli
Entrée
json.set abc . '{"a":"1","b":"2","c":"3"}'
Si vous revenezokC'est tout.
Cinq、Supplément
1.InredisjsonMoyenne,json Problèmes de formatage stockés échapper aux caractères 
InredisjsonSaisissez les commandesjson.getHeure, Vous pouvez voir un peu de changement dans le format qu'il stocke , Cela se reflète dans C++Dans le Code, Le format des données saisies doit également être ajusté en conséquence . Attention à l'application des caractères d'évasion ,Comme le montre la figure ci - dessous::
边栏推荐
- Mathematical induction and recursion
- [swift] learning notes (I) -- familiar with basic data types, coding styles, tuples, propositions
- 美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
- Numpy中排序操作partition,argpartition,sort,argsort
- HDU 4337 King Arthur's Knights 它输出一个哈密顿电路
- Jerry's phonebook acquisition [chapter]
- Matlab Error (Matrix dimensions must agree)
- 24.(arcgis api for js篇)arcgis api for js点修改点编辑(SketchViewModel)
- “去虚向实”大潮下,百度智能云向实而生
- 编译常量、ClassLoader类、系统类加载器深度探析
猜你喜欢

体会设计细节

CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计

How to replace the backbone of the model

The solution of unable to create servlet file after idea restart

Development of wireless communication technology, cv5200 long-distance WiFi module, UAV WiFi image transmission application

Laravel php artisan 自动生成Model+Migrate+Controller 命令大全

小程序能运行在自有App中,且实现直播和连麦?

「小样本深度学习图像识别」最新2022综述

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

函数重入、函数重载、函数重写自己理解
随机推荐
unrecognized selector sent to instance 0x10b34e810
小程序能运行在自有App中,且实现直播和连麦?
Lab1 configuration script
Centerx: open centernet in the way of socialism with Chinese characteristics
Lingyun going to sea | yidiantianxia & Huawei cloud: promoting the globalization of Chinese e-commerce enterprise brands
What about SSL certificate errors? Solutions to common SSL certificate errors in browsers
Optimization of application startup speed
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
Lost in the lock world of MySQL
Decoration design enterprise website management system source code (including mobile source code)
Jerry's FM mode mono or stereo selection setting [chapter]
Uniapp adaptation problem
Jerry's question about DAC output power [chapter]
安装 torch 0.4.1
Install torch 0.4.1
[C language] question set of IX
“去虚向实”大潮下,百度智能云向实而生
cocos3——8.实现初学者指南
LAB1配置脚本
HDU 4337 King Arthur's Knights 它输出一个哈密顿电路