Skip to content

Instantly share code, notes, and snippets.

@matzefriedrich
Created June 27, 2019 21:55
Show Gist options
  • Select an option

  • Save matzefriedrich/83a0c8f880d2cc5e9fe9773a8f80031f to your computer and use it in GitHub Desktop.

Select an option

Save matzefriedrich/83a0c8f880d2cc5e9fe9773a8f80031f to your computer and use it in GitHub Desktop.
Install Redis on Debian
# assuming the system is fresh and clean, we need to install the following additional packages
apt-get update && apt-get -y install curl build-essential
# download latest Redis release; see: https://redis.io/download
cd /tmp
curl http://download.redis.io/releases/redis-5.0.5.tar.gz --output redis-5.0.5.tar.gz
tar xvzf redis-5.0.5.tar.gz
# build Redis
cd redis-5.0.5
make
# install binaries (client)
cd src
cp redis-cli /usr/local/bin/ && chmod 755 /usr/local/bin/redis-cli
# proceed with additional applications, such as Redis server and such
cp redis-server /usr/local/bin/ && chmod 755 /usr/local/bin/redis-server
cp redis-benchmark /usr/local/bin/ && chmod 755 /usr/local/bin/redis-benchmark
cp redis-check-aof /usr/local/bin/ && chmod 755 /usr/local/bin/redis-check-aof
cp redis-check-rdb /usr/local/bin/ && chmod 755 /usr/local/bin/redis-check-rdb
cp redis-sentinel /usr/local/bin/ && chmod 755 /usr/local/bin/redis-sentinel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment