Redis visualization tool-Another Redis Desktop Manager installation

Another Redis DeskTop Manager is a Redis  visual management tool, small in size and completely free. The most important thing is that it is stable and easy to operate.

Table of contents

 1. Download and install

download

Install

2. Simple to use

connect

Add key

3. Springboot integrates redis

Preliminary preparation


 1. Download and install

download

Download address: Releases · qishibo/AnotherRedisDesktopManager (github.com)

 Download to local,

Install

Run the downloaded installation package as administrator,

Select installation path

Click install,

 

The installation is complete.

2. Simple to use

connect

(1) Double-click to open, click New Connection to create a new connection,

There is no need to fill in the connection information at the beginning (my redis is installed locally).

There is currently no content.

(2) Open the locally installed redis,

You can move to this blog: Deployment of Ruoyi backend management system based on SpringBoot and vue_Ruoyi management system_Shuiw's blog-CSDN blog

Open the cmd window in the Redis installation directory, enter cmd directly at the Redis directory path and press Enter to enter the command window and switch to the redis directory, and press Enter.

Then, in cmd under the redis directory path, execute the following command to start the redis service:

redis-server.exe redis.windows.conf

(3) On the premise of starting redis, and then refreshing the visualization tool, you can see the connection details.

Add key

Select New Key, click, and then add a key named name

 Set the expiration time to not expire, enter Value, and click Save.

3. Springboot integrates redis

Preliminary preparation

Import redis dependencies in the pom.xml file

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>

Add redis configuration,

At this time, let's try to start the project first to see if an error will be reported.

The local redis is not started, but no error is reported when the project is started. Why is this?

This is because although our local redis has not been started at this time, the project will only report an error when reids are used.

run the test,

ok。

Guess you like

Origin blog.csdn.net/qq_45956730/article/details/132643407