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

Steps to install redis

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

Share

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

Editor to share with you the operation steps of installing redis, I hope you will gain a lot after reading this article, let's discuss it together!

1. Download the installation package

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.

2. Install Redis

Open the redis folder with the following contents:

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

Redis-server.exe redis.windows.conf

After typing, the following interface is displayed:

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

Change to the redis directory and run the following command:

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

This completes the installation.

After reading this article, I believe you have a certain understanding of the steps of installing 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