Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (17 sloc) 503 Bytes
#!/bin/bash
wget http://download.redis.io/redis-stable.tar.gz
echo 'Redis downloaded'
tar -xvf redis-stable.tar.gz
echo 'unzipped.'
cd redis-stable
make && make test
cd ..
echo 'installed.'
#copy files to home dir in case you want to see what settings are being run
cp -a . ~/
#if you choose not to copy all files using the lines above, you still need to copy the redis.conf
#cp redis.conf ~/
echo 'copying executables to home directory'
cd redis-stable/src
cp redis-server ~/
cp redis-cli ~/