mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
14 lines
271 B
Bash
14 lines
271 B
Bash
if [ -e ./redis-stable ];
|
|
then
|
|
echo "redis already installed."
|
|
else
|
|
echo "installing redis"
|
|
curl -O http://download.redis.io/redis-stable.tar.gz
|
|
tar xvzf redis-stable.tar.gz
|
|
cd redis-stable
|
|
make
|
|
echo "redis installed"
|
|
cd ..
|
|
fi
|
|
cd ./redis-stable
|
|
./src/redis-server |