# Redis releases:
https://download.redis.io/releases/

wget https://download.redis.io/releases/redis-6.2.5.tar.gz

# To compile Redis, first the tarball, change to the root directory, and then run make:
tar -zxvf redis-6.2.5.tar.gz
cd redis-6.2.5
make MALLOC=libc

# If the compile succeeds, you'll find several Redis binaries in the src directory, including:
redis-server: the Redis Server itself
redis-cli is the command line interface utility to talk with Redis.

# To install these binaries in /usr/local/bin, run:
sudo make install

# Starting Redis
redis-server
或
redis-server redis.conf

标签: none

添加新评论