Skip to content

Instantly share code, notes, and snippets.

@asacarter
Last active April 11, 2019 12:31
Show Gist options
  • Save asacarter/110a74cf4f85150f872ef2116805dcad to your computer and use it in GitHub Desktop.
Save asacarter/110a74cf4f85150f872ef2116805dcad to your computer and use it in GitHub Desktop.
Install Redis from source on Alpine
apk --force --no-cache  add procps
apk --force add linux-headers
apk —-force add --update alpine-sdk

cd ~
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable

cd deps

make lua hiredis linenoise jemalloc

cd ..

make

cp src/redis-server /usr/local/bin/
cp src/redis-cli /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment