RSS

Using Redis with C# (I): Installation of Redis

14 Jul

image  image

You might wish to get the latest windows installer for Redis here as well.

  • Run redis-service application in the installation folder:

image

  • Open Service in Windows, select the “Redis Server”, start it, and change the startup type to “Automatic”

image

Goto installation folder \ conf \, edit redis.conf, uncomment the below line and set your password:

image

  • Click “redis-cli.exe” in the installation folder to Open a Redis client, type “ping”
  • You will most likely encounter this error: “ERR operation not permitted”

image

In the Redis Client command window, type

AUTH xxxxx

where xxxxx is the password you set in the redis.conf. Re-run below command

ping

Done. You have successfully installed Redis on your Windows, and running it as a service!

image

 
1 Comment

Posted by on July 14, 2015 in Dotnet/C#, Programming

 

Tags: , , , , , ,

One response to “Using Redis with C# (I): Installation of Redis

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: