Here is one of the way of installing the Redis on Windows:-

Architecture

1.Install some packages

 

  • $ sudo apt-get install build-essential
  • $ sudo apt-get install tcl8.5

2. Download the source code of the latest version of Redis.

  • http://download.redis.io/releases/redis-5.0.3.tar.gz

3. Extract the file that has been downloaded.

 

4.Compile the Redis source

  • $ sudo make distclean
  • $ sudo make –j

 

5.Test the compiled files ((optional))

  • $ sudo make test -j

 

6. After compilation, copy the Redis binaries under /usr/local/bin/ and then install the Redis server by the following instructions:-

  • $ sudo make install -j
  • $ cd utils
  • $ sudo ./install_server.sh

7. Installation Completed

 

Point to be noted:- Go through this Q&A very thoroughly as this is one of the vital Redis interview questions.

Suggest An Answer

No suggestions avaliable!