YouTip LogoYouTip

Redis Install

# Redis Installation ## Windows Installation **Download URL:** [https://github.com/redis-windows/redis-windows/releases](https://github.com/redis-windows/redis-windows/releases). Redis supports both 32-bit and 64-bit. Choose according to your system platform. Here we download **Redis-x64-xxx.zip** to C drive, extract it, and rename the folder to **redis**. !(#) Open the folder, contents are as follows: !(#) Open a **cmd** window, use cd command to switch to **C:redis** directory and run: redis-server.exe redis.windows.conf For convenience, you can add Redis path to system environment variables to avoid typing the path each time. The redis.windows.conf parameter can be omitted, which will use the default configuration. After running, it will display: ![Image 7: Redis Installation](#) Now open another cmd window (keep the previous one open), switch to redis directory and run: redis-cli.exe -h 127.0.0.1 -p 6379 Set a key-value pair: set myKey abc Retrieve the value: get myKey ![Image 8: Redis Installation](#) * * * ## Linux Source Installation **Download URL:** [http://redis.io/download](http://redis.io/download), download the latest stable version. This tutorial uses version 2.8.17 as example, download and install: # wget http://download.redis.io/releases/redis-6.0.8.tar.gz# tar -xzvf redis-6.0.8.ta
← Redis ConfRedis Intro β†’