banner



How To Run Redis Server On Windows

Introduction

In this article, nosotros are going to larn how to download and install the Windows flavor of Redis Enshroud and will learn the process of getting started with Redis Client and Redis Server.

Installing Redis Cache On Windows


Who this article is for

This article is for .Cyberspace developers and beginners who are working with ASP.Net.

What is Redis?

Redis is an open up source (BSD licensed), NoSQL, and in-retentivity datastore which works on a key-value pair.

Annotation

In-memory means it stores the data inside RAM. If you are thinking it's similar to other NoSQL databases, like MongoDB, CouchDB etc, permit me tell you that it is quite unlike because it stores the data in random access memory which serves the data faster every bit compared to the other NoSQL technologies.

What does "BSD licensed" mean?

BSD licenses are a family of permissive gratuitous software licenses, imposing minimal restrictions on the utilize and distribution of the covered software. This is in contrast to the copyleft licenses which take share-alike requirements.

Referred from - https://en.wikipedia.org/wiki/BSD_licenses

Operating System support

Redis is supported by all common operating systems.

  1. Linux
  2. Mac
  3. Windows (For Windows, the beta version of Redis has been released)

Downloading

The current version of Redis available for download is iii.2.100.

You can download Redis for Windows from hither.

Installing Redis Cache On Windows

After downloading, allow'southward install Redis on our Windows machine.

At that place are 2 ways you tin can install Redis.

  1. Redis-x64-3.0.504.msi (Microsoft Installer)
  2. Redis-x64-3.0.504.zip (nix files)

If you utilise Microsoft installer (.msi), then Redis will be installed as a service on Windows. On the other hand, if you utilise the goose egg file, it volition be a standalone awarding (without being registered as a service).

Installing Redis on Windows Using the MSI file

Execute the downloaded MSI file on your system. The installer window will open. Click Side by side.

Installing Redis Cache On Windows

On the next screen, set the Destination Binder for your Redis awarding. Let'due south leave information technology with the default value.

Installing Redis Cache On Windows

After setting the destination folder, we demand to set the port number for Redis to run. By default, it is "6379". Here also, we are not going to alter annihilation.

Installing Redis Cache On Windows

Side by side, set the Max Memory Limit.

The default memory limit is 100 MB. If you desire to set more than than that, then click on the checkbox and enter your value.

Installing Redis Cache On Windows

Subsequently clicking on the Next push, it volition bear witness the "Install" button. Only click on it to install the product.

Installing Redis Cache On Windows

After successfully installing Redis on Windows, now, let'south see its folder structure.

Installing Redis Cache On Windows

Running Redis Server

After installing, the Redis awarding is installed every bit a service on Windows. The current state of service is running.

Installing Redis Cache On Windows

Now, we accept checked that the server is running, permit's open the binder location where Redis files are stored.

Running Redis Server as Standalone from the zip file

If y'all have downloaded the zip version of Redis, then you tin directly click on "redis-server.exe" to commencement the Redis Server.

Installing Redis Cache On Windows

And in the same manner, you tin run through Windows command prompt by simply calling the path where you have stored the Redis files.

Installing Redis Cache On Windows

Running the Redis command-line interface (CLI)

To employ the built-in Redis Customer, we are going to open the folder location where we have installed Redis on Windows and from there, open up "redis-cli.exe" to run the control line to Redis Server.

Installing Redis Cache On Windows

If you double-click on "redis-cli.exe", information technology will execute the CLI.

Installing Redis Cache On Windows

In some other fashion, if y'all want to open "redis-cli.exe" from Windows CMD, enter the location path and so call "redis-cli.exe".

Installing Redis Cache On Windows

Now, let us execute the showtime command to exam if we are connected to the Server.

First Control

Nosotros enter the first command as ping with the pings server. That Server sends a response as "PONG".

Installing Redis Cache On Windows

Conclusion

In this part of the article, nosotros have learned how to ready upwards Redis on Windows, how to start the Server, and how to execute commands using Redis CLI.

Source: https://www.c-sharpcorner.com/article/installing-redis-cache-on-windows/

Posted by: walkerbeeks1962.blogspot.com

0 Response to "How To Run Redis Server On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel