Got it

How to install Redis on Windows

Latest reply: Feb 28, 2022 13:55:06 850 3 4 0 0

Hello, everyone!

This post will share with you how to install Redis on Windows.

Redis is not officially supported on Windows, but there is an MSOpen Tech Native Redis Port available.

In order to download and run Redis on Windows, please follow the steps given below.


Step 1:

Download Latest-Release archived Redis from:

https://github.com/MicrosoftArchive/redis/releases

(3.0.504 is the latest release, if there is a new one you can download it).

redis

Step 2:

Unzip the folder (If you have downloaded the zip file).

or Run the installer (If you have downloaded the msi file).


Step 3:

Run redis-server.exe.

redis

It will start server on your system and 6379 is the default port.

port

Step 4:

Run redis-cli.exe.

redis

It helps to interact with Redis server through commands.

redis

When you type ping and it says PONG that means it is able to inject with a server.

You can ping any message and get it back.

Then you can use any of your commands.


Step 5: 

If you want to use Redis in command line add file path into environment variable.

REDIS

redis

After that, go to location of Redis folder in command line and run redis-cli.exe.

redis

This is how you can get started with Redis using zip file.

Also, Type "exit" to disconnect.


Additionally:

If you want to connect to remote Redis server:

redis-cli.exe -h XXX.XXX.XXX.XXX -p YYYY

xxx.xxx.xxx.xxx is the IP address and yyyy is the port.

c

That's all, thanks!

  • x
  • convention:

olive.zhao
Admin Created Nov 16, 2021 06:22:55

Good Sharing!
View more
  • x
  • convention:

user_4358465
Created Nov 21, 2021 15:37:08

Awesome post. Thanks
View more
  • x
  • convention:

olive.zhao
Admin Created Feb 28, 2022 13:55:06

  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.