solana/net/scripts/install-redis.sh

9 lines
176 B
Bash
Raw Normal View History

2019-02-15 20:17:30 -08:00
#!/usr/bin/env bash
set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1
add-apt-repository -y ppa:chris-lea/redis-server
2019-02-15 20:17:30 -08:00
apt-get --assume-yes install redis