Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Methods and steps for downloading redis

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you the methods and steps of downloading redis. I hope you will gain a lot after reading this article. Let's discuss it together.

Install under Window

Download address: https://github.com/MSOpenTech/redis/releases.

Redis supports 32-bit and 64-bit. This needs to be chosen according to the actual situation of your system platform. Here we download the Redis-x64-xxx.zip package to disk C, decompress it, and rename the folder to redis.

Open the folder with the following contents:

Open a cmd window and use the cd command to change directories to C:\ redis to run:

Redis-server.exe redis.windows.conf

If you want to be convenient, you can add the path of redis to the environment variable of the system, so that you don't have to enter the path again, and the latter redis.windows.conf can be omitted. If omitted, the default will be enabled. After typing, the following interface is displayed:

At this time, open another cmd window, do not close the original, otherwise you will not be able to access the server.

Change to the redis directory to run:

Redis-cli.exe-h 127.0.0.1-p 6379

Set key-value pairs:

Set myKey abc

Take out the key-value pair:

Get myKey

After reading this article, I believe you have a certain understanding of the methods and steps of downloading redis, want to know more about it, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report