当前位置:网站首页>本地可视化工具连接阿里云centOS服务器的redis
本地可视化工具连接阿里云centOS服务器的redis
2022-06-27 21:20:00 【萌褚】
镜像下载、域名解析、时间同步请点击 阿里云开源镜像站
本地或远程阿里云服务器开启redis服务(安装redis过程省略)
windows内打开cmd命令进入redis安装目录输入redis-server.exe启动或是直接双击文件夹内的redis-server.exe启动
linux启动命令仅需输入redis-cli --raw(避免中文乱码)即可进入redis

准备了可视化工具Redis Desktop Manager 2019
- 软件内设置有中文或英文以及其他外语选项,可供自己选择更换语言

本地新建redis连接

- 若无redis密码,仅填写连接名即可
- 建议设置一个密码,且不要是123456这种低级的密码,容易成为安全隐患
本地连接阿里云服务器的redis
- 阿里云安全组打开6379端口,且如若开启虚拟机中的防火墙,也需一并打开


- linux启动命令仅需输入redis-cli --raw(避免中文乱码)即可进入redis
- 如果redis设置有密码,首先需要进行密码授权验证: auth 密码
- 回车,正确则是OK,如下图

- 密码不正确则会报错 (error) WRONGPASS invalid username-password pair or user is disabled.
- 查看当前密码,第二行打码显示的则是当前密码

- 可重新设置redis密码:config set requirepass ****(****为你要设置的新密码),若是设置成功的话会返回‘OK’字样
- 服务器的redis更改配置为下图,主要更改Bind为0.0.0.0和密码 更改后重载配置、重载redis (可使用杀进程命令 在使用 kill -9 前,应该先使用 kill -15,给目标进程一个清理善后工作的机会。如果没有,可能会留下一些不完整的文件或状态,从而影响服务的再次启动。)
- 实测若是更改为其他ip无法进行本地连接阿里云服务器的redis


- 博主这里用的宝塔的操作
本地可视化工具连接阿里云centOS服务器的redis

- 填写完点击左下角的测试连接,连接成功即可使用

边栏推荐
- Prediction of benign / malignant breast tumors (logistic regression classifier)
- 使用cef3开发的浏览器不支持flash问题的解决
- Does the subscription of Siyuan notes stop deleting cloud data directly?
- Zero foundation self-study SQL course | complete collection of SQL basic functions
- Can you do these five steps of single cell data cleaning?
- 如何找到外文文献对应的中文文献?
- Golang uses Mongo driver operation - query (Advanced)
- First principles (optimal solution theory)
- Introduction to quantitative trading
- Storage structure of graph
猜你喜欢

零基础自学SQL课程 | SQL中的日期函数大全

Golang - the difference between new and make

Detect objects and transfer images through mqtt

小程序referer

撰写外文时怎样引用中文文献?

The latest cloud development wechat balance charger special effect applet source code

seata
![[try to hack] kill evaluation](/img/93/e623e25dc4dec1f656227c7651577e.png)
[try to hack] kill evaluation
![[PCL self study: segmentation4] point cloud segmentation based on Min cut](/img/af/a6c5abf357c1db0718df505499df70.png)
[PCL self study: segmentation4] point cloud segmentation based on Min cut

【PCL自学:Segmentation3】基于PCL的点云分割:区域增长分割
随机推荐
Sentinel
Introduction to quantitative trading
Sécurité, économie de carburant et protection de l'environnement chameau
Swing UI——容器(一)
Halcon's region: features of multiple regions (6)
ASP.NET仓库进销存ERP管理系统源码 ERP小程序源码
Golang uses Mongo driver operation - query (basic)
Teach you how to transplant tinyriscv to FPGA
Zero foundation self-study SQL course | case function
Chapter 2 integrated mp
【PCL自学:PCLVisualizer】点云可视化工具PCLVisualizer
Storage structure of graph
C language - date formatting [easy to understand]
Use of go log package log
How to select documents for literature review? For example, I can't finish reading more than 200 search results. How to select documents
Applet referer
One step forward is excellent, one step backward is ignorant
[AI application] detailed parameters of Jetson Xavier nx
How vivado adds timing constraints
c语言之字符串数组