当前位置:网站首页>Windows connects redis installed on Linux
Windows connects redis installed on Linux
2022-07-06 18:12:00 【eight hundred and forty-eight million six hundred and ninety-ei】
Reids Remote connection for
Linux Installed on Redis Its connection configuration
1. close linux A firewall
- Set boot to enable firewall :systemctl enable firewalld.service
- Set boot disable firewall :
systemctl disable firewalld.service
- Start the firewall :systemctl start firewalld
- Turn off firewall :
systemctl stop firewalld
- Check firewall status :
systemctl status firewalld
2. modify Redis The configuration file ——redis.config
First find out where linux in redis Installation path for
command :vim redis.config
use vim Editor changes redis.config Configuration in
Enter /bind
You can quickly search and locate bind Of Location
Input wq
Save and exit
- Original 【bind 127.0.0.1】 Change to 【
bind0,0,0,0
】 such redis You can connect to other hosts - 【protected-mode yes】 It is amended as follows : 【
protected-mode no
】 relieve redis The protection mechanism of , It can be connected by other hosts
3. start-up redis
Redis brief introduction - Download and install - Basic use -1
Specify profile startup Redis, And the back end starts &
start-up redis The service ,
Specify profile
:redis-server route /redis.conf &
4. Windows Upper Redis Visualization tools connect Linux Upper Redis
- This way, you can Windows Download one Redis Visual tools , You can check it very well Redis Data in
5. stay Linux On Redis Writing data
Redis The service has started , First of all to enter Redis Client mode
Connect to the client directly by default —— command :redis-cli
Write the string directly :
set k1 v1
- stay Windows View through the visual interface
边栏推荐
- Comparative examples of C language pointers *p++, * (p++), * ++p, * (++p), (*p) + +, +(*p)
- Interview shock 62: what are the precautions for group by?
- Video fusion cloud platform easycvr adds multi-level grouping, which can flexibly manage access devices
- kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
- 带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities
- 面试突击62:group by 有哪些注意事项?
- Growth of operation and maintenance Xiaobai - week 7
- 传统家装有落差,VR全景家装让你体验新房落成效果
- OliveTin能在网页上安全运行shell命令(上)
- F200——搭载基于模型设计的国产开源飞控系统无人机
猜你喜欢
In terms of byte measurement with an annual salary of 30W, automated testing can be learned in this way
F200 - UAV equipped with domestic open source flight control system based on Model Design
Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day
Interesting - questions about undefined
2019阿里集群数据集使用总结
Introduction to the usage of model view delegate principal-agent mechanism in QT
从交互模型中蒸馏知识!中科大&美团提出VIRT,兼具双塔模型的效率和交互模型的性能,在文本匹配上实现性能和效率的平衡!...
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
The easycvr authorization expiration page cannot be logged in. How to solve it?
Getting started with pytest ----- test case rules
随机推荐
Nodejs developer roadmap 2022 zero foundation Learning Guide
Comparative examples of C language pointers *p++, * (p++), * ++p, * (++p), (*p) + +, +(*p)
After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer
Alertmanager sends the alarm email and specifies it as the Alibaba mailbox of the company
Pytest learning ----- detailed explanation of the request for interface automation test
Interview shock 62: what are the precautions for group by?
Compilation Principle -- C language implementation of prediction table
Jielizhi obtains the currently used dial information [chapter]
Jerry is the custom background specified by the currently used dial enable [chapter]
It doesn't make sense without a distributed gateway
sql语句优化,order by desc速度优化
The easycvr authorization expiration page cannot be logged in. How to solve it?
Jerry's watch deletes the existing dial file [chapter]
一体化实时 HTAP 数据库 StoneDB,如何替换 MySQL 并实现近百倍性能提升
重磅!蚂蚁开源可信隐私计算框架“隐语”,主流技术灵活组装、开发者友好分层设计...
Distiller les connaissances du modèle interactif! L'Université de technologie de Chine & meituan propose Virt, qui a à la fois l'efficacité du modèle à deux tours et la performance du modèle interacti
递归的方式
重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用
Open source and safe "song of ice and fire"
On time and parameter selection of asemi rectifier bridge db207