Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

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

$
0
0

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


Viewing all articles
Browse latest Browse all 284

Trending Articles