当前位置:网站首页>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
边栏推荐
- 關於這次通信故障,我想多說幾句…
- 李書福為何要親自掛帥造手機?
- Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
- The shell generates JSON arrays and inserts them into the database
- MSF horizontal MSF port forwarding + routing table +socks5+proxychains
- Common - magic number 7
- Insert dial file of Jerry's watch [chapter]
- FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
- Compilation principle - top-down analysis and recursive descent analysis construction (notes)
- SQL statement optimization, order by desc speed optimization
猜你喜欢
Pytest learning ----- pytest operation mode and pre post packaging of interface automation testing
In terms of byte measurement with an annual salary of 30W, automated testing can be learned in this way
虚拟机VirtualBox和Vagrant安装
FMT open source self driving instrument | FMT middleware: a high real-time distributed log module Mlog
Smart street lamp based on stm32+ Huawei cloud IOT design
重磅!蚂蚁开源可信隐私计算框架“隐语”,主流技术灵活组装、开发者友好分层设计...
Windows连接Linux上安装的Redis
C语言通过指针交换两个数
2019阿里集群数据集使用总结
Appium automated test scroll and drag_ and_ Drop slides according to element position
随机推荐
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
從交互模型中蒸餾知識!中科大&美團提出VIRT,兼具雙塔模型的效率和交互模型的性能,在文本匹配上實現性能和效率的平衡!...
D binding function
8位MCU跑RTOS有没有意义?
Jerry's watch deletes the existing dial file [chapter]
The difference between parallelism and concurrency
ADB common commands
The easycvr authorization expiration page cannot be logged in. How to solve it?
二分(整数二分、实数二分)
趣-关于undefined的问题
Jielizhi obtains the customized background information corresponding to the specified dial [chapter]
Manifest of SAP ui5 framework json
Jerry is the custom background specified by the currently used dial enable [chapter]
Jerry's watch reads the file through the file name [chapter]
std::true_type和std::false_type
SQL statement optimization, order by desc speed optimization
2022暑期项目实训(二)
递归的方式
Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
Cool Lehman has a variety of AI digital human images to create a vr virtual exhibition hall with a sense of technology