当前位置:网站首页>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-cliWrite the string directly :
set k1 v1

- stay Windows View through the visual interface

边栏推荐
- Pytorch extract middle layer features?
- I want to say more about this communication failure
- Alertmanager sends the alarm email and specifies it as the Alibaba mailbox of the company
- Markdown grammar - better blogging
- HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
- Prophet模型的简介以及案例分析
- 【剑指 Offer】 60. n个骰子的点数
- Easy introduction to SQL (1): addition, deletion, modification and simple query
- On time and parameter selection of asemi rectifier bridge db207
- Grafana 9.0 正式发布!堪称最强!
猜你喜欢

Interview shock 62: what are the precautions for group by?

In terms of byte measurement with an annual salary of 30W, automated testing can be learned in this way

Interesting - questions about undefined

Pytest learning ----- detailed explanation of the request for interface automation test

8位MCU跑RTOS有没有意义?

Distinguish between basic disk and dynamic disk RAID disk redundant array

Prophet模型的简介以及案例分析

What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?

Kivy tutorial: support Chinese in Kivy to build cross platform applications (tutorial includes source code)

Appium automated test scroll and drag_ and_ Drop slides according to element position
随机推荐
F200 - UAV equipped with domestic open source flight control system based on Model Design
最新财报发布+天猫618双榜第一,耐克蓄力领跑下个50年
Pytorch extract middle layer features?
[Android] kotlin code writing standardization document
面试突击62:group by 有哪些注意事项?
std::true_ Type and std:: false_ type
C language exchanges two numbers through pointers
Pourquoi Li shufu a - t - il construit son téléphone portable?
UDP协议:因性善而简单,难免碰到“城会玩”
Grafana 9.0 正式发布!堪称最强!
传输层 拥塞控制-慢开始和拥塞避免 快重传 快恢复
容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
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
编译原理——预测表C语言实现
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
2019阿里集群数据集使用总结
High precision operation
Distinguish between basic disk and dynamic disk RAID disk redundant array
Transfer data to event object in wechat applet
Appium automated test scroll and drag_ and_ Drop slides according to element position