Redis安装

mac2024-02-22  61

Installation

Download, extract and compile Redis with: $ wget http://download.redis.io/releases/redis-5.0.5.tar.gz $ tar xzf redis-5.0.5.tar.gz $ cd redis-5.0.5 $ 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 Test:

redis> set foo bar OK redis> get foo "bar"
最新回复(0)