Redis is an in-memory database, cache and message broker. It supports strings, hashes, lists, sets, sorted sets, streams and other data structures. Redis also provides replication, scripting, transactions, on-disk persistence, high availability through Redis Sentinel and partitioning through Redis Cluster. Sentinel requires the optional Debian redis-sentinel package.
This appliance includes all the standard features in TurnKey Core, and on top of that:
Redis configuration:
- Redis Server and its command-line tools come from Debian Trixie and use normal APT security updates.
- First boot generates a strong Redis password. View it from Confconsole or
run
turnkey-redis-pw getas root. - First boot lets you keep Redis on localhost, bind all interfaces or enter a local address. Remote deployments should restrict TCP port 6379 to trusted clients with the firewall.
- Debian's default RDB persistence remains enabled.
- Includes the Redis Commander browser interface at
https://<appliance>/redis-commander/.
HTTPS protects the landing page and Redis Commander management interface.
Postfix MTA (bound to localhost) to allow sending of email from web applications.
Always ensure that you have a current and tested backup before performing an upgrade. Test the update on a development server before updating production.:
su - node -c "cd /opt/tklweb-cp && npm install redis-commander@latest" systemctl restart pm2-node
The npm lock file records registry integrity hashes. Redis Server itself is updated through APT.
- Webmin, SSH: username root
- Redis Commander: username admin