Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
install redis 2.8 to Amazon Linux
sudo yum install -y gcc
tar xzf redis-2.8.6.tar.gz
cd redis-2.8.6
sudo cp ./src/redis-server /usr/local/bin/
sudo cp ./src/redis-cli /usr/local/bin/
sudo cp ./src/redis-check-dump /usr/local/bin/
sudo mkdir /etc/redis
sudo mkdir /var/redis
sudo cp utils/redis_init_script /etc/init.d/redis_6379
sudo cp redis.conf /etc/redis/6379.conf
sudo mkdir /var/redis/6379
sudo mkdir -p /media/ephemeral0/redis/6379
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.