Skip to content

Instantly share code, notes, and snippets.

View ehubbell's full-sized avatar

Eric Hubbell ehubbell

View GitHub Profile
@ehubbell
ehubbell / redis.service
Last active December 15, 2022 14:16 — forked from hackedunit/redis.service
Systemd service file for a redis service.
[Unit]
Description=Redis In-Memory Data Store
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/local/bin/redis-cli shutdown
Restart=always
@ehubbell
ehubbell / install-redis.md
Created December 2, 2020 21:24 — forked from hackedunit/install-redis.md
Install and configure Redis on Ubuntu 16.04 with systemd
  1. Install pre-requisities

sudo apt-get install build-essential tcl

  1. Install Redis
cd /tmp
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz