Skip to content

Instantly share code, notes, and snippets.

@sawanoboly
Created March 31, 2015 07:30
Show Gist options
  • Save sawanoboly/e2090143782002a66b10 to your computer and use it in GitHub Desktop.
Save sawanoboly/e2090143782002a66b10 to your computer and use it in GitHub Desktop.
sudo yum install -y php-pecl-redis php-pecl-igbinary redis
sudo service redis start
sudo chkconfig redis on
cd /var/www/vhosts/`ec2-metadata -i | awk '{print $2}'`
sudo -u nginx /usr/local/bin/wp plugin install wp-redis
sudo cp -p wp-content/plugins/wp-redis/object-cache.php wp-content/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment