Skip to content

Instantly share code, notes, and snippets.

@defaye
Last active June 2, 2020 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defaye/50276a4208b226ef0ad292414b18a922 to your computer and use it in GitHub Desktop.
Save defaye/50276a4208b226ef0ad292414b18a922 to your computer and use it in GitHub Desktop.
Install Redis Server on Ubuntu 18.04
sudo apt update && sudo apt install -y redis-server
sudo sed -i -E "s/^supervised .*$/supervised systemd/" /etc/redis/redis.conf # make redis a background service
sudo service redis restart
@defaye
Copy link
Author

defaye commented Jun 2, 2020

To run this command in one line:

curl -s https://gist.github.com/defaye/50276a4208b226ef0ad292414b18a922/raw/0a1f682fc6ee3c80b339dd176007213736bea96b/install_redis_server.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment