$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt install redis-server -y
$ redis-server -v
Redis server v=6.0.16
$ sudo nano /etc/redis/redis.conf
bind 127.0.0.1 ::1
supervised systemd
$ sudo systemctl restart redis-server
$ sudo systemctl enable redis-server
Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable redis-server
$ sudo systemctl status redis-server
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor >
Active: active (running) since Sat 2023-09-30 10:34:28 UTC; 2min 34s ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Main PID: 2079496 (redis-server)
Status: "Ready to accept connections"
Tasks: 5 (limit: 16568)
Memory: 2.7M
CPU: 348ms
CGroup: /system.slice/redis-server.service
└─2079496 "/usr/bin/redis-server 127.0.0.1:6379" "" "" "" "" "" "">
Sep 30 10:34:28 sky systemd[1]: Starting Advanced key-value store...
Sep 30 10:34:28 sky systemd[1]: Started Advanced key-value store.
admin@sky:/etc$