Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Redis on Windows Server

Tags:

windows

redis

I am trying to install Redis on my windows Server 2012 R2. The problem is that all the installation guides that I have found are out-of-date.

Can anyone show me the easiest and most recent way to install Redis on Windows?

thanks.

like image 571
user3242743 Avatar asked Sep 09 '14 05:09

user3242743


People also ask

Is Redis available for Windows?

Redis is not officially supported on Windows. However, you can install Redis on Windows for development by following the instructions below. To install Redis on Windows, you'll first need to enable WSL2 (Windows Subsystem for Linux). WSL2 lets you run Linux binaries natively on Windows.

Where is Redis installed Windows?

As told earlier, Redis is not available on windows but Microsoft makes it available for the Windows users. Go to https://github.com/microsoftarchive/redis/releases to Download .

Can Redis be installed locally?

Redis can be installed on any server. In this case we'll install it locally for testing. to make Redis start automatically, and re-start when the computer reboots. and Redis will automatically be up and running.

How do I start Redis on a server?

To start Redis client, open the terminal and type the command redis-cli. This will connect to your local server and now you can run any command. In the above example, we connect to Redis server running on the local machine and execute a command PING, that checks whether the server is running or not.


2 Answers

I used this guide for my setup, hopefully will work for you to

https://github.com/ServiceStack/redis-windows#running-microsofts-native-port-of-redis

like image 123
Andrei Tofan Avatar answered Nov 03 '22 01:11

Andrei Tofan


here is the quick start from powershell:

  1. install the Chocolatey package manager:

    iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

  2. use chocolatey to install redis choco install -y redis-64

    1. run the server: redis-server
like image 42
ERR0 Avatar answered Nov 03 '22 02:11

ERR0