当前位置:网站首页>本地可视化工具连接阿里云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

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

边栏推荐
- 文献综述如何挑选文献进行阅读,比如我的检索结果有200多篇根本看不完,如何进行文献挑选呢?...
- [sword finger offer] 47 Maximum value of gifts
- Solve the cross domain problem of the new version of chrome: Cookie loss and samesite attribute problem "recommended collection"
- 支持删除,更新任意结点的优先级队列
- Applet referer
- Excel print settings public header
- Feign implements path escape through custom annotations
- 【Vim】使用教程,常用命令,高效使用Vim编辑器
- golang使用mongo-driver操作——查(基础)
- seata
猜你喜欢

Safe, fuel-efficient and environment-friendly camel AGM start stop battery is full of charm

手把手教你移植 tinyriscv 到FPGA上

Vivado FFT IP的使用说明

零基础自学SQL课程 | CASE函数

Applet referer

An analysis of C language functions
![[PCL self study: pclplotter] pclplotter draws data analysis chart](/img/ca/db68d5fae392c7976bfc93d2107509.png)
[PCL self study: pclplotter] pclplotter draws data analysis chart

How to set the enterprise wechat group robots to send messages regularly?

零基础自学SQL课程 | SQL基本函数大全

Discuz small fish game wind shadow legend business gbk+utf8 version template /dz game website template
随机推荐
2022年PMP项目管理考试敏捷知识点(3)
零基础自学SQL课程 | CASE函数
How to quote Chinese documents when writing a foreign language?
ICML 2022: UFRGS |作为最优策略转移基础的乐观线性支持和后继特征
一文剖析C语言函数
Swing UI container (I)
思源笔记订阅停止直接删云端数据嘛?
Structure de stockage des graphiques
抓出那些重复的基因
Systematic learning + active exploration is the most comfortable way to get started!
C# Winform 读取Resources图片
[从零开始学习FPGA编程-48]:视野篇 - 智能传感器的发展与应用
MySQL read / write separation configuration
Stream + Nacos
Are the registered accounts of the top ten securities companies safe and risky?
[sword finger offer] 48 Longest substring without duplicate characters
Is not null and in SQL= Difference between null
Cornernet由浅入深理解
Zero foundation self-study SQL course | if function
零基础自学SQL课程 | IF函数