Skip to content

Instantly share code, notes, and snippets.

@zealinux
Last active December 22, 2017 03:09
Show Gist options
  • Select an option

  • Save zealinux/edf894c90a7520a552d2ae3e6c474ad3 to your computer and use it in GitHub Desktop.

Select an option

Save zealinux/edf894c90a7520a552d2ae3e6c474ad3 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -eux
# https://linode.com/docs/databases/redis/install-and-configure-redis-on-centos-7/
sudo yum -y install epel-release
sudo yum update
sudo yum -y install redis
sudo systemctl start redis
sudo systemctl enable redis
redis-cli ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment