Skip to content

Instantly share code, notes, and snippets.

@claudiouzelac
Last active August 29, 2015 14:02
Show Gist options
  • Save claudiouzelac/977ba4619e449c8b4646 to your computer and use it in GitHub Desktop.
Save claudiouzelac/977ba4619e449c8b4646 to your computer and use it in GitHub Desktop.
Setup Redis
#Mount EBS volume
#Check drives
lsblk
sudo mkdir /data
sudo mount {device_name} /data
# Install Redis
apt-get update
apt-get upgrade
apt-get install redis-server
#Back up the default configuration
cp /etc/redis/redis.conf /etc/redis/redis.conf.default
#Modify redis.conf {dir /data}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment