mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
redis!
This commit is contained in:
parent
c22b4acde0
commit
1920d44e54
28
redis.sh
28
redis.sh
@ -1,14 +1,14 @@
|
||||
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
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user