当前位置:网站首页>Local visualization tools are connected to redis of Alibaba cloud CentOS server

Local visualization tools are connected to redis of Alibaba cloud CentOS server

2022-07-06 16:20:00 Cute Chu

Image download 、 Domain name resolution 、 Time synchronization please click Alibaba cloud open source image station

Start the local or remote alicloud server redis service ( install redis The process is omitted )

  1. windows Open inside cmd Order to enter redis Installation directory input redis-server.exe Start or double-click the folder redis-server.exe start-up

  2. linux Start command only needs to be entered redis-cli --raw( Avoid miscoding in Chinese ) You can enter redis

file

Visualization tools are prepared Redis Desktop Manager 2019

  • Chinese or English and other foreign language options are set in the software , You can choose to change your language

file

Local new redis Connect

file

  • If there is no redis password , Just fill in the connection name
  • It is recommended to set a password , And don't be 123456 This low-level password , It is easy to become a potential safety hazard

Locally connected to Alibaba cloud servers redis

  • The Alibaba cloud security group opens 6379 port , And if you turn on the firewall in the virtual machine , It also needs to be opened

file

file

  • linux Start command only needs to be entered redis-cli --raw( Avoid miscoding in Chinese ) You can enter redis
  • If redis Set up a password , First, password authorization verification is required : auth password
  • enter , Correct is OK, Here's the picture

file

  • If the password is incorrect, an error will be reported (error) WRONGPASS invalid username-password pair or user is disabled.
  • View current password , The second line shows the current password

file

  • It can be reset redis password :config set requirepass ( For the new password you want to set ), If the setting is successful, it will return ‘OK’ word
  • Server's redis Change the configuration to the following figure , Major changes Bind by 0.0.0.0 And password Reload the configuration after the change 、 heavy load redis ( You can use the kill process command In the use of kill -9 front , Should be used first kill -15, Give the target process a chance to clean up the aftermath . without , Some incomplete files or status may be left , This will affect the restart of the service .)
  • If the actual measurement is changed to other ip Unable to connect to the alicloud server locally redis

file

file

  • The operation of the pagoda used by bloggers here

Local visualization tools are connected to Alibaba cloud centOS Server's redis

file

  • Click the test link in the lower left corner after filling in , After successful connection, you can use

file

In this paper, from :https://juejin.cn/post/7111737983635554312

原网站

版权声明
本文为[Cute Chu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060920215844.html