当前位置:网站首页>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

边栏推荐
- 传统家装有落差,VR全景家装让你体验新房落成效果
- Dichotomy (integer dichotomy, real dichotomy)
- 酷雷曼多种AI数字人形象,打造科技感VR虚拟展厅
- Declval (example of return value of guidance function)
- 【Swoole系列2.1】先把Swoole跑起来
- Jerry is the custom background specified by the currently used dial enable [chapter]
- OpenEuler 会长久吗
- 【剑指 Offer】 60. n个骰子的点数
- 编译原理——自上而下分析与递归下降分析构造(笔记)
- C language exchanges two numbers through pointers
猜你喜欢

2019阿里集群数据集使用总结

Awk command exercise

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

Rb157-asemi rectifier bridge RB157

Four processes of program operation

Getting started with pytest ----- test case pre post, firmware
![Jerry's updated equipment resource document [chapter]](/img/6c/17bd69b34c7b1bae32604977f6bc48.jpg)
Jerry's updated equipment resource document [chapter]

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

kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)

sql语句优化,order by desc速度优化
随机推荐
Growth of operation and maintenance Xiaobai - week 7
MarkDown语法——更好地写博客
Pytest learning ----- pytest operation mode and pre post packaging of interface automation testing
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
Will openeuler last long
How to use scroll bars to dynamically adjust parameters in opencv
Rb157-asemi rectifier bridge RB157
QT中Model-View-Delegate委托代理机制用法介绍
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
1700C - Helping the Nature
2019阿里集群数据集使用总结
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
Interview shock 62: what are the precautions for group by?
Mysqlimport imports data files into the database
面试突击62:group by 有哪些注意事项?
The difference between parallelism and concurrency
编译原理——自上而下分析与递归下降分析构造(笔记)
传统家装有落差,VR全景家装让你体验新房落成效果
最新财报发布+天猫618双榜第一,耐克蓄力领跑下个50年
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer