当前位置:网站首页>本地可视化工具连接阿里云centOS服务器的redis
本地可视化工具连接阿里云centOS服务器的redis
2022-07-06 09:28: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
- 填写完点击左下角的测试连接,连接成功即可使用
边栏推荐
- Opencv learning log 27 -- chip positioning
- E. Breaking the Wall
- 921. Minimum additions to make parentheses valid
- Socket communication
- [exercise-6] (UVA 725) division = = violence
- Problem - 922D、Robot Vacuum Cleaner - Codeforces
- Codeforces Round #803 (Div. 2)A~C
- Codeforces - 1526C1&&C2 - Potions
- B - Code Party (girls' competition)
- C language learning notes
猜你喜欢
1529. Minimum number of suffix flips
Flask框架配置loguru日志庫
window11 conda安装pytorch过程中遇到的一些问题
Codeforces Round #801 (Div. 2)A~C
2078. Two houses with different colors and the farthest distance
Anaconda下安装Jupyter notebook
[exercise-5] (UVA 839) not so mobile (balance)
去掉input聚焦时的边框
Sword finger offer II 019 Delete at most one character to get a palindrome
Candy delivery (Mathematics)
随机推荐
Codeforces - 1526C1&&C2 - Potions
Alice and Bob (2021 Niuke summer multi school training camp 1)
AcWing:第58场周赛
Suffix expression (greed + thinking)
Find 3-friendly Integers
[exercise -11] 4 values why sum is 0 (and 4 values of 0)
Differential (one-dimensional, two-dimensional, three-dimensional) Blue Bridge Cup three body attack
Hdu-6025-prime sequence (girls' competition)
Flask框架配置loguru日志庫
Ball Dropping
浏览器打印边距,默认/无边距,占满1页A4
Openwrt build Hello ipk
pytorch提取骨架(可微)
Codeforces round 797 (Div. 3) no f
860. Lemonade change
useEffect,函数组件挂载和卸载时触发
双向链表—全部操作
Codeforces Round #801 (Div. 2)A~C
Li Kou: the 81st biweekly match
<li>圆点样式 list-style-type