Skip to content

Instantly share code, notes, and snippets.

@ashless
ashless / create new redis instance Ubuntu 20.04.md
Last active November 28, 2024 01:17 — forked from inecmc/notes.md
How to run multiple Redis instances on Ubuntu 20.04

Create the directory for the new instance

$ sudo install -o redis -g redis -d /var/lib/redis2

Create a new configuration file

$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf