Quantcast
Channel: Wuji Touch Wonders - .NET
Viewing all articles
Browse latest Browse all 7

Setting up Redis on Windows with Chocolatey

$
0
0
Step 1
Install chocolately (https://chocolatey.org/)
Open cmd prompt as Administrator
Run the following:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Step 2
Install redis using chocolatey
Open cmd prompt as Administrator
Run the following:
choco install redis-64

Step 3
Set up redis to run as a service (if it didn't set it up automatically, check local services if "Redis" exists)
Open cmd prompt as Administrator
Run the following:
cd C:\ProgramData\chocolatey\lib\redis-64
redis-server --service-install "redis.windows-service.conf"

If the service won't start, open redis.window-service.conf and make sure the path in the logfile setting uses forward slash (/) not back slash (\). Also make sure the "logs" folder exists at C:\ProgramData\chocolatey\lib\redis-64\logs.
If you need to uninstall, run:
redis-server --service-uninstall
 
Here's a link to a free Redis explorer:
http://redisdesktop.com

Viewing all articles
Browse latest Browse all 7

Trending Articles