Skip to content

Instantly share code, notes, and snippets.

@andy-igoo
Last active November 27, 2019 14:28
Show Gist options
  • Save andy-igoo/49789938095698656b16fbad287c4d96 to your computer and use it in GitHub Desktop.
Save andy-igoo/49789938095698656b16fbad287c4d96 to your computer and use it in GitHub Desktop.
Redis install (Debian/Ubuntu)
#!/bin/sh
cd /tmp
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make distclean
cd deps
make hiredis jemalloc linenoise lua geohash-int
cd ..
make
make test
make install
mkdir /etc/redis
mkdir /var/redis
update-rc.d redis_6379 defaults
service redis_6379 start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment