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

边栏推荐
- J'aimerais dire quelques mots de plus sur ce problème de communication...
- Selected technical experts from China Mobile, ant, SF, and Xingsheng will show you the guarantee of architecture stability
- 传统家装有落差,VR全景家装让你体验新房落成效果
- 容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
- Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
- std::true_ Type and std:: false_ type
- 從交互模型中蒸餾知識!中科大&美團提出VIRT,兼具雙塔模型的效率和交互模型的性能,在文本匹配上實現性能和效率的平衡!...
- The difference between parallelism and concurrency
- Jerry's setting currently uses the dial. Switch the dial through this function [chapter]
- Declval of template in generic programming
猜你喜欢

How to solve the error "press any to exit" when deploying multiple easycvr on one server?

Compilation principle - top-down analysis and recursive descent analysis construction (notes)

Kivy tutorial: support Chinese in Kivy to build cross platform applications (tutorial includes source code)
![Jerry is the custom background specified by the currently used dial enable [chapter]](/img/32/6c22033bda8ff1b53993bacef254cd.jpg)
Jerry is the custom background specified by the currently used dial enable [chapter]

ASEMI整流桥DB207的导通时间与参数选择

开源与安全的“冰与火之歌”

Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day

带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities

Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022

STM32 key state machine 2 - state simplification and long press function addition
随机推荐
Declval of template in generic programming
STM32按键状态机2——状态简化与增加长按功能
2022暑期项目实训(二)
The easycvr platform reports an error "ID cannot be empty" through the interface editing channel. What is the reason?
Jielizhi obtains the currently used dial information [chapter]
虚拟机VirtualBox和Vagrant安装
Compilation Principle -- C language implementation of prediction table
Grafana 9.0 正式发布!堪称最强!
ADB common commands
Take you through ancient Rome, the meta universe bus is coming # Invisible Cities
C语言指针*p++、*(p++)、*++p、*(++p)、(*p)++、++(*p)对比实例
【Android】Kotlin代码编写规范化文档
OpenEuler 会长久吗
李书福为何要亲自挂帅造手机?
Olivetin can safely run shell commands on Web pages (Part 1)
一体化实时 HTAP 数据库 StoneDB,如何替换 MySQL 并实现近百倍性能提升
MarkDown语法——更好地写博客
高精度运算
MSF horizontal MSF port forwarding + routing table +socks5+proxychains
Pytest learning ----- detailed explanation of the request for interface automation test