Skip to content

Instantly share code, notes, and snippets.

@genghisjahn
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genghisjahn/45fb959faf743cf91282 to your computer and use it in GitHub Desktop.
Save genghisjahn/45fb959faf743cf91282 to your computer and use it in GitHub Desktop.
Redis install on base Ubuntu 64 server

From terminal, first run:

sudo aptitude install build-essential

Then do the normal redis install as mentioned on their website.

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

tar xvzf redis-stable.tar.gz

cd redis-stable

I'm adding this step

make distclean

make

After you've installed everything it'll tell you that running make test is a good idea, but you'll get an error about tcl 8.5 or newer required, so...

sudo apt-get install tk8.5

Now you can run make test and they should all run (there are 36 tests, takes a few minutes to get through them).

To get the binaries in the right place, run

make install

Now you can run redis-server. Check the redis page for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment