Skip to content

Instantly share code, notes, and snippets.

@defaye
Last active June 2, 2020 19:59
Show Gist options
  • 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