Created
March 24, 2011 12:49
-
-
Save atl/885000 to your computer and use it in GitHub Desktop.
HOWTO: compile and install redis on a no.de machine as of 2011-03-24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/sw | |
cd ~/sw | |
wget http://pkgsrc.joyent.com/2010Q3/All/gcc44-4.4.4nb1.tgz | |
pfexec pkg_add gcc44-4.4.4nb1.tgz | |
export PATH="$PATH:/opt/local/gcc44/bin" | |
pkgin in binutils | |
wget --no-check-certificate https://github.com/antirez/redis/tarball/2.2.2 | |
gtar xvf antirez-redis-2.2.2-0-g048c0f0.tar.gz | |
cd antirez-redis-b96f325/ | |
CC=gcc gmake | |
pfexec gmake PREFIX=/opt/local install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment