Skip to content

Setup Redis for caching

Vikas Tiwari edited this page May 5, 2018 · 5 revisions

# For windows machine

I had downloaded redis-64.3.0.503.zip from below url

https://github.com/ServiceStack/redis-windows/tree/master/downloads

unzip the folder

Click on redis-server application file, it will start the redis server.

Redish will be listining on 6379 port of your machine, where it is started.


# For Linux server(Not yet tested by me):

Follow the below steps:

Installation Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-4.0.9.tar.gz $ tar xzf redis-4.0.9.tar.gz $ cd redis-4.0.9 $ make The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server You can interact with Redis using the built-in client:

$ src/redis-cli redis> set foo bar OK redis> get foo "bar"

References:

https://redis.io/download


Clone this wiki locally