{"id":3227,"date":"2026-12-03T12:34:29","date_gmt":"2026-12-03T12:34:29","guid":{"rendered":"https:\/\/hostry.com\/blog\/?p=3227"},"modified":"2026-12-03T13:36:53","modified_gmt":"2026-12-03T13:36:53","slug":"valkey-vs-redis-linux-vps-apt-dnf","status":"publish","type":"post","link":"https:\/\/hostry.com\/blog\/valkey-vs-redis-linux-vps-apt-dnf\/","title":{"rendered":"Valkey vs Redis on a Linux VPS: What apt and dnf Actually Install"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b.webp\" alt=\"Valkey vs Redis on a Linux VPS: two key-value servers installed from apt and dnf, with data moving in one direction only\" class=\"wp-image-3236\" srcset=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b.webp 1200w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b-300x169.webp 300w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b-1024x576.webp 1024w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b-450x253.webp 450w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-cover-b-768x432.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:14px\"><em><strong>Type apt install redis on an Ubuntu 24.04 VPS today and you get Redis 7.0.15 under BSD-3. On Ubuntu 26.04 the same command installs Redis 8.0.5, whose package license reads RSALv2 or SSPLv1 or AGPLv3, and whose dump file both Valkey 7.2 and Valkey 9.0 refuse to load by default.<\/strong><\/em><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey is the community fork of Redis that kept the old BSD license, and on Ubuntu each installs with one apt command. Valkey vs Redis on a VPS then depends on your release and on whether your data will ever have to move.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a fresh Ubuntu 24.04 server both are BSD, and we would pick Valkey. On Ubuntu 26.04 or Debian 13, Redis 8 brings the AGPL option and dump files Valkey refuses by default, so choose it only for a Redis 8 feature you need, knowing the license. Either one keeps its whole dataset in RAM, so size the <strong><a href=\"https:\/\/hostry.com\/products\/vps\/\">Linux VPS<\/a><\/strong> for the app plus the data. On Fedora or RHEL 10, Valkey is the only packaged choice; see <strong><a href=\"#dnf\">the dnf section<\/a><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"packages\">What apt and dnf give you today<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The table shows what each package manager installs as of early December 2026. Rows marked <strong>Lab<\/strong> were installed and inspected; rows marked <strong>Docs<\/strong> come from package pages read on December 3, 2026 and were not reproduced.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Release<\/th><th>Redis package<\/th><th>Valkey package<\/th><th>License<\/th><th>Evidence<\/th><\/tr><\/thead><tbody><tr><td>Ubuntu 24.04 LTS<\/td><td>redis-server 7.0.15, universe<\/td><td>valkey-server 7.2.14 in noble-updates, 7.2.12 in noble-security, universe; <span class=\"highlighted\">valkey-redis-compat<\/span> migrates and removes Redis<\/td><td>Both BSD-3-clause in the main stanza (package copyright files)<\/td><td>Lab<\/td><\/tr><tr><td>Ubuntu 26.04 LTS<\/td><td>redis-server 8.0.5, universe<\/td><td>valkey-server 9.0.6 in resolute-updates, <strong>main<\/strong><\/td><td>Redis: RSALv2 or SSPLv1 or AGPLv3; Valkey: BSD-3-clause (main stanza of the package copyright files)<\/td><td>Lab<\/td><\/tr><tr><td>Debian 12<\/td><td>redis 7.0.15<\/td><td>Only in bookworm-backports, 8.0.1<\/td><td>Upstream Redis 7.0: BSD-3; Valkey: BSD-3<\/td><td>Docs: <strong><a href=\"https:\/\/tracker.debian.org\/pkg\/valkey\" target=\"_blank\" rel=\"noopener\">Debian package tracker<\/a><\/strong><\/td><\/tr><tr><td>Debian 13<\/td><td>redis 8.0.2<\/td><td>valkey 8.1.1<\/td><td>Upstream Redis 8.0: RSALv2, SSPLv1 or AGPLv3; Valkey: BSD-3<\/td><td>Docs: Debian package tracker<\/td><\/tr><tr><td>Fedora 43 \/ 44 \/ 45<\/td><td>None; replaced by Valkey since Fedora 41, with a <span class=\"highlighted\">valkey-compat-redis<\/span> subpackage<\/td><td>valkey 8.1.12 \/ 9.0.8 \/ 9.1.4<\/td><td>Valkey: BSD-3<\/td><td>Docs: Fedora Packages<\/td><\/tr><tr><td>RHEL 10<\/td><td>Not included<\/td><td>valkey, which Red Hat recommends migrating to<\/td><td>Valkey: BSD-3<\/td><td>Docs: Red Hat<\/td><\/tr><tr><td>RHEL 9.7<\/td><td>Not checked<\/td><td>valkey, part of RHEL as of 9.7<\/td><td>Valkey: BSD-3<\/td><td>Docs: EPEL 9 retirement notice<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Every Lab row and output block below was reproduced on 2026-12-03. The Ubuntu 24.04 runs used a test container with the Ubuntu-archive packages valkey-server 7.2.14 and redis-server 7.0.15. The Ubuntu 26.04 runs used a chroot with valkey-server 9.0.6 and redis-server 8.0.5, and in both runs the servers were started by hand, not via systemd. The test data was 1,007 keys of all seven basic types, 1,001 of them with a TTL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span class=\"highlighted\">apt install valkey<\/span> works on both Ubuntu releases through valkey-server&#8217;s <span class=\"highlighted\">Provides: valkey<\/span>, although no package has that name. Valkey 9.2 and Redis 8.12, the newest upstream releases, are in no Ubuntu pocket. Upstream security support for Redis 8.0 ended on December 1, 2026, yet Ubuntu 26.04 and Debian 13 have shipped security updates for their 8.0 packages, Ubuntu on October 1, 2026. That is the same split as with <strong><a href=\"https:\/\/hostry.com\/blog\/mysql-8-0-eol-migrate-mariadb\/\">Ubuntu&#8217;s MySQL 8.0 after Oracle&#8217;s end of life<\/a><\/strong>; the distribution&#8217;s security team decides when you get fixes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"license\">Redis license: AGPLv3 arrives with the 26.04 package<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The license that applies is the one inside the package you installed, and it follows the Redis version. Per the <strong><a href=\"https:\/\/endoflife.date\/redis\" target=\"_blank\" rel=\"noopener\">Redis release and license table on endoflife.date<\/a><\/strong>, 7.2 and earlier are BSD-3-clause and 7.4 through 7.8 are RSALv2 or SSPLv1. From 8.0 on, AGPLv3 is a third option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu writes the license into <span class=\"highlighted\">\/usr\/share\/doc\/redis-server\/copyright<\/span>. On 24.04 the redis-server 7.0.15 file lists <span class=\"highlighted\">License: BSD-3-clause<\/span> for Redis&#8217;s own files (<span class=\"highlighted\">Files: *<\/span>); a few stanzas are BSD-2-clause and the bundled Lua is MIT. On 26.04 the 8.0.5 package says this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sed -n '1,14p' \/usr\/share\/doc\/redis-server\/copyright\nFormat: https:\/\/www.debian.org\/doc\/packaging-manuals\/copyright-format\/1.0\/\nUpstream-Contact: Salvatore Sanfilippo &lt;antirez@gmail.com&gt;\nUpstream-Name: redis\nSource: https:\/\/github.com\/redis\/redis\n\nFiles: *\nCopyright:\n \u00a9 2016-2025, Redis Ltd.\n \u00a9 2024-2025, Valkey contributors\nLicense:\n Licensed under your choice of (a) the Redis Source Available License 2.0\n (RSALv2); or (b) the Server Side Public License v1 (SSPLv1); or (c) the\n GNU Affero General Public License v3 (AGPLv3).<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey&#8217;s copyright file says BSD-3-clause in its main stanza on both releases, for 7.2.14 and for 9.0.6. AGPLv3 is an OSI-approved open-source license; RSALv2 and SSPLv1 are not.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each of the three Redis options asks something different of you if you modify Redis, ship it in a product or offer it as a hosted service. In those cases, have counsel read the file before you standardize on Redis 8.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"which-one\">Valkey vs Redis: pick by release and by how hard your data is to rebuild<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For a new server we pick Valkey on every release in the table, with one exception for Redis 8.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Ubuntu 24.04, or Debian 12 with Valkey from backports<\/strong>: both packages are BSD, and a Redis 7.0.15 dump loads into Valkey 7.2.14 and 9.0.6 with keys, TTLs and streams intact. On a new 24.04 VPS we would install Valkey and take its security builds from noble-updates, as <strong><a href=\"#patching\">the patching section<\/a><\/strong> explains. Upstream maintains 7.2 until April 16, 2027 and fixes security issues to April 16, 2029 (endoflife.date); 26.04 moves Valkey to main, which Canonical maintains itself. The cost is the way back: Redis 7.0.15 cannot read what Valkey 7.2 writes.<\/li><li>On Ubuntu 26.04 or Debian 13, run Redis 8 only if your application needs a Redis 8 feature that the Valkey next to it lacks. Per-field expiry on hashes (<span class=\"highlighted\">HEXPIRE<\/span>) is such a gap only on Debian 13&#8217;s Valkey 8.1.1. Valkey 9.0 added it, and the lab&#8217;s 9.0.6 replica kept a field TTL set on Redis 8.0.5. With Redis 8 you accept the tri-license and a dump format that Valkey 9.0.6 refused by default in the lab.<\/li><li>If Redis 7.0 already runs on 24.04 and works, there is no deadline: its changelog has a noble-security entry dated October 1, 2026.<\/li><li>If Redis holds only cache entries or sessions you can lose, skip data migration and start Valkey empty.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When Valkey serves one app on the same machine, leave it on loopback. <strong><a href=\"https:\/\/hostry.com\/products\/vps\/\">Hostry KVM VPS<\/a><\/strong> plans let you scale resources up later if the dataset outgrows memory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Install Valkey on Ubuntu 24.04 next to Redis<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both packages install side by side on 24.04 and 26.04, each with its own user, directories and systemd unit, both enabled for boot. They share the default port, 6379.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install valkey-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey uses <span class=\"highlighted\">\/etc\/valkey\/valkey.conf<\/span> and <span class=\"highlighted\">\/var\/lib\/valkey<\/span>; Redis keeps <span class=\"highlighted\">\/etc\/redis\/redis.conf<\/span> and <span class=\"highlighted\">\/var\/lib\/redis<\/span>. Installing valkey-server adds no <span class=\"highlighted\">redis-cli<\/span> link to <span class=\"highlighted\">valkey-cli<\/span>, though each client talks to either server. The link comes with <span class=\"highlighted\">valkey-redis-compat<\/span>, which removes redis-server, so skip it while both run. The first server to start takes the port; in the lab Redis won, and Valkey logged:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1258:M 03 Dec 2026 11:31:41.762 * Running mode=standalone, port=6379.\n1258:M 03 Dec 2026 11:31:41.762 # Warning: Could not create server TCP listening socket 127.0.0.1:6379: bind: Address already in use\n1258:M 03 Dec 2026 11:31:41.762 # Failed listening on port 6379 (tcp), aborting.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The same race is expected at boot under systemd; that ordering was not reproduced. Give Valkey its own port while both run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo sed -i 's\/^port 6379$\/port 6380\/' \/etc\/valkey\/valkey.conf\nsudo systemctl restart valkey-server\nsudo ss -ltnp | grep -E ':63(79|80) '<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the lab Valkey was started by hand with <span class=\"highlighted\">&#8211;port 6380<\/span> instead of these two commands. The container had no IPv6; a VPS also lists the <span class=\"highlighted\">[::1]<\/span> sockets:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>LISTEN 0      511        127.0.0.1:6380       0.0.0.0:*    users:((\"valkey-server\",pid=1370,fd=6))\nLISTEN 0      511        127.0.0.1:6379       0.0.0.0:*    users:((\"redis-server\",pid=1243,fd=6))<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do not trust <span class=\"highlighted\">valkey-cli &#8211;version<\/span> for patch level: on 24.04 it prints <span class=\"highlighted\">valkey-cli 7.2.4<\/span> while the server is 7.2.14. The server reports both numbers:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ valkey-cli -p 6380 INFO server | grep -E \"^(redis_version|valkey_version|server_name)\"\nredis_version:7.2.4\nserver_name:valkey\nvalkey_version:7.2.14<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey 9.0.6 also reports <span class=\"highlighted\">redis_version:7.2.4<\/span>, for client compatibility. As with <strong><a href=\"https:\/\/hostry.com\/blog\/nginx-security-update-ubuntu-24-04-check\/\">a version string that stays the same across nginx security fixes<\/a><\/strong>, the package version from <span class=\"highlighted\">apt-cache policy<\/span> tells you which fixes you have.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"migrate\">Migrate Redis to Valkey: what loads where<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To migrate Redis to Valkey by file, you copy the RDB file, the binary snapshot both servers save as <span class=\"highlighted\">dump.rdb<\/span>. The new server must understand the format version in the file&#8217;s first bytes, and each packaged server writes a different one (the file exists once a server has saved):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo od -A d -c -N 16 \/var\/lib\/redis\/dump.rdb | head -1\nsudo od -A d -c -N 16 \/var\/lib\/valkey\/dump.rdb | head -1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The lab ran the same check over its own copies of the four dumps:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/srv\/lab-valkey\/d\/redis70\/dump.rdb\n0000000   R   E   D   I   S   0   0   1   0 372  \\t   r   e   d   i   s\n\/srv\/lab-valkey\/d\/valkey72\/dump.rdb\n0000000   R   E   D   I   S   0   0   1   1 372  \\n   v   a   l   k   e\n\/srv\/lab-valkey\/resolute-test\/srv\/d\/redis80\/dump.rdb\n0000000   R   E   D   I   S   0   0   1   2 372  \\t   r   e   d   i   s\n\/srv\/lab-valkey\/resolute-test\/srv\/d\/valkey90\/dump.rdb\n0000000   V   A   L   K   E   Y   0   8   0 372  \\n   v   a   l   k   e<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That is RDB 10, 11 and 12, and a <span class=\"highlighted\">VALKEY080<\/span> header from Valkey 9.0.6. Each dump was then loaded in a fresh directory with AOF and saving off. The results cover the basic-type dataset described above; data from modules such as JSON or search was not tested.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Dump from \\ loaded by<\/th><th>Redis 7.0.15<\/th><th>Valkey 7.2.14<\/th><th>Redis 8.0.5<\/th><th>Valkey 9.0.6<\/th><\/tr><\/thead><tbody><tr><td>Redis 7.0.15 (RDB 10)<\/td><td>(source)<\/td><td>Loads<\/td><td>Not run<\/td><td>Loads<\/td><\/tr><tr><td>Valkey 7.2.14 (RDB 11)<\/td><td>Refused, version 11<\/td><td>(source)<\/td><td>Loads<\/td><td>Loads<\/td><\/tr><tr><td>Redis 8.0.5 (RDB 12)<\/td><td>Refused, version 12<\/td><td>Refused, version 12<\/td><td>(source)<\/td><td>Refused by default; loads with <span class=\"highlighted\">rdb-version-check relaxed<\/span><\/td><\/tr><tr><td>Valkey 9.0.6 (VALKEY080)<\/td><td>Not run<\/td><td>Refused, wrong signature<\/td><td>Refused, wrong signature<\/td><td>(source)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey 9.0.6 from the same 26.04 archive refused the Redis 8.0.5 dump as well:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* Valkey version=9.0.6, bits=64, commit=00000000, modified=0, pid=20739, just started\n* Configuration loaded\n* Running mode=standalone, port=7202.\n[...]\n# Can't handle RDB format version 12\n# Fatal error loading the DB, check server logs. Exiting.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once Valkey 9.0 has saved your data, a file copy cannot take it back to Redis 8.0 or Valkey 7.2 (<span class=\"highlighted\">Wrong signature trying to load DB from file<\/span>). Redis 8 data needs the relaxed check or a plain-command AOF, both covered next. This run only saw Redis 8.0.5 write version 12, and the <strong><a href=\"https:\/\/valkey.io\/topics\/migration\/\" target=\"_blank\" rel=\"noopener\">Valkey migration guide<\/a><\/strong> says data files from Redis Community Edition 7.4 and later are not compatible in general.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths.webp\" alt=\"Valkey vs Redis RDB load paths: Redis 7.0.15 dumps load into Valkey 7.2.14 and 9.0.6, Valkey 7.2.14 dumps load into Redis 8.0.5 and Valkey 9.0.6, Redis 8.0.5 and Valkey 9.0.6 dumps are refused elsewhere\" class=\"wp-image-3226\" srcset=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths.webp 1200w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths-300x200.webp 300w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths-1024x683.webp 1024w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths-450x300.webp 450w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/12\/valkey-vs-redis-linux-vps-apt-dnf-rdb-load-paths-768x512.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption>Green arrows loaded with default settings; red arrows were refused. Packaged versions from the Ubuntu 24.04 and 26.04 archives.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Redis 8 into Valkey 9: the relaxed check and where it stops<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey 9.0 has a setting, <span class=\"highlighted\">rdb-version-check<\/span>, that defaults to <span class=\"highlighted\">strict<\/span>. Set to <span class=\"highlighted\">relaxed<\/span>, it loads a newer format on a best-effort basis and aborts on anything unknown. Valkey 7.2 has no such option. With the plain test data, relaxed mode loaded the Redis 8.0.5 dump in full:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* Loading RDB produced by Redis version 8.0.5\n* RDB age 63 seconds\n* RDB memory usage when created 1.09 Mb\n* Done loading RDB, keys loaded: 1007, keys expired: 0.\n* DB loaded from disk: 0.001 seconds\n* Ready to accept connections tcp\ndbsize: 1007\nkeys_with_ttl: expires=1001<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then one hash on the Redis side got a TTL on a single field (<span class=\"highlighted\">HEXPIRE demo:hfe 3600 FIELDS 1 f1<\/span>), and that key alone stopped the load:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* Loading RDB produced by Redis version 8.0.5\n* RDB age 7 seconds\n* RDB memory usage when created 1.21 Mb\n# Can't handle foreign type or opcode 25 in RDB with version 12\n# Fatal error loading the DB, check server logs. Exiting.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replication from Redis 8.0.5 hit the same wall, since the first sync is an RDB transfer. In the lab, the link came up after two changes made together: the field-TTL hash was deleted on the master and the Valkey 9.0.6 replica was set to <span class=\"highlighted\">relaxed<\/span>. If your app uses <span class=\"highlighted\">HEXPIRE<\/span>, you know which key patterns carry field TTLs; re-create those keys after the move and set the option back to <span class=\"highlighted\">strict<\/span>. To check one field, <span class=\"highlighted\">redis-cli HTTL &lt;key&gt; FIELDS 1 &lt;field&gt;<\/span> returns the seconds left, or -1 when the field has no TTL (redis.io command reference).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"aof\">AOF files carry the same problem<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">AOF, the append-only file, is a log of write commands kept alongside or instead of the snapshot. Redis 8 starts it with an RDB preamble by default (<span class=\"highlighted\">aof-use-rdb-preamble yes<\/span>), so a copied AOF directory fails the same way:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* Reading RDB base file on AOF loading...\n# Can't handle RDB format version 12\n# Error reading the RDB base file appendonly.aof.2.base.rdb, AOF loading aborted<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Rewriting the AOF on Redis as plain commands, a workaround also suggested in Valkey&#8217;s issue tracker, moved the data. Redis must already run with <span class=\"highlighted\">appendonly yes<\/span> (on a live server, <span class=\"highlighted\">redis-cli CONFIG SET appendonly yes<\/span> turns it on). Both lab runs, 24.04 and 26.04, started the servers by hand rather than with systemctl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>redis-cli CONFIG SET aof-use-rdb-preamble no\nredis-cli BGREWRITEAOF\nredis-cli INFO persistence | grep aof_rewrite_in_progress   # wait for 0\nsudo systemctl stop redis-server valkey-server\nsudo systemctl disable redis-server\nsudo cp -r \/var\/lib\/redis\/appendonlydir \/var\/lib\/valkey\/\nsudo chown -R valkey:valkey \/var\/lib\/valkey\/appendonlydir\nsudo sed -i 's\/^appendonly no$\/appendonly yes\/' \/etc\/valkey\/valkey.conf\nsudo systemctl start valkey-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Valkey 9.0.6 then loaded all 1,007 keys in strict mode. The text base file was 90.7 KB against 24 KB in RDB form.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If <span class=\"highlighted\">appendonly yes<\/span> is set when Valkey first starts on a copied <span class=\"highlighted\">dump.rdb<\/span>, it ignores the file and starts empty. In the lab, the next <span class=\"highlighted\">SAVE<\/span> then replaced the 24,315-byte dump with a 90-byte one. Both packaged configs ship <span class=\"highlighted\">appendonly no<\/span>; keep it until the data is in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"before-switch\">Before you switch: keep the last Redis dump<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Moving from Redis 7.0 to Valkey takes one file copy, but in the lab the way back failed. The Redis 7.0.15 from the same 24.04 archive could not load Valkey 7.2.14&#8217;s dump:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=20803, just started\n# Configuration loaded\n[...]\n* Running mode=standalone, port=7204.\n# Can't handle RDB format version 11\n# Fatal error loading the DB: Invalid argument. Exiting.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The last dump Redis wrote is your rollback, so keep it, named with its version. It restores the state at cutover only: anything written to Valkey later is not in it, so decide on rollback before the app writes to Valkey. To move a 24.04 server to Valkey on port 6379 (the lab skipped steps 1 and 2):<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If you moved Valkey to 6380, set it back without restarting: <span class=\"highlighted\">sudo sed -i &#8216;s\/^port 6380$\/port 6379\/&#8217; \/etc\/valkey\/valkey.conf<\/span>.<\/li><li>Check that <span class=\"highlighted\">sudo grep -n &#8216;^appendonly&#8217; \/etc\/valkey\/valkey.conf<\/span> shows <span class=\"highlighted\">appendonly no<\/span> for the first start (see <strong><a href=\"#aof\">the AOF trap<\/a><\/strong>).<\/li><li>Stop the app&#8217;s writes before <span class=\"highlighted\">SAVE<\/span>.<\/li><li>Run the block below. It stops Redis and Valkey before the copy, since a running server can save its own empty dataset over the file on shutdown.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>redis-cli SAVE\nsudo cp \/var\/lib\/redis\/dump.rdb \/root\/dump-redis-7.0.15-before-valkey.rdb\nsudo systemctl stop valkey-server redis-server\nsudo systemctl disable redis-server\nsudo cp \/var\/lib\/redis\/dump.rdb \/var\/lib\/valkey\/dump.rdb\nsudo chown valkey:valkey \/var\/lib\/valkey\/dump.rdb\nsudo systemctl start valkey-server\nvalkey-cli DBSIZE\nvalkey-cli INFO server | grep -E '^(valkey_version|tcp_port|config_file)'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The lab did the same copy and chown with both servers started by hand, not through systemctl. Valkey then reported:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1007\nvalkey_version:7.2.14\ntcp_port:6379\nconfig_file:\/etc\/valkey\/valkey.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add <span class=\"highlighted\">&#8211;askpass<\/span> to the <span class=\"highlighted\">redis-cli<\/span> line if Redis has a password. Keep the <span class=\"highlighted\">chown<\/span> step. A plain <span class=\"highlighted\">sudo cp<\/span> to a new file leaves it owned by root (onto an existing Valkey dump it keeps that file&#8217;s owner), and <span class=\"highlighted\">cp -p<\/span> or <span class=\"highlighted\">rsync -a<\/span> keep the <span class=\"highlighted\">redis<\/span> owner; with the units&#8217; <span class=\"highlighted\">UMask=007<\/span>, a dump Redis writes is mode 660. The valkey user cannot read any of these; the lab simulated the unreadable case with <span class=\"highlighted\">chmod 640<\/span>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Fatal error: can't open the RDB file dump.rdb for reading: Permission denied\n# Fatal error loading the DB, check server logs. Exiting.<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">The one-command route on 24.04: valkey-redis-compat<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu 24.04 also has a package that switches for you. <span class=\"highlighted\">apt install valkey-redis-compat<\/span> removes redis-server and links <span class=\"highlighted\">redis-cli<\/span>, redis-benchmark and the two check tools to their Valkey versions, with no <span class=\"highlighted\">redis-server<\/span> link. It copies <span class=\"highlighted\">redis.conf<\/span> to <span class=\"highlighted\">valkey.conf<\/span> with every &#8220;redis&#8221; replaced by &#8220;valkey&#8221;, copies the data into <span class=\"highlighted\">\/var\/lib\/valkey<\/span> and renames the old directory to <span class=\"highlighted\">\/var\/lib\/redis-old<\/span>. It also creates <span class=\"highlighted\">\/etc\/valkey\/REDIS_MIGRATION<\/span>, and valkey-server.service will not start until you delete that file (read from the unit file, not run under systemd).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install valkey-redis-compat<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Setting up valkey-redis-compat (7.2.14+dfsg1-0ubuntu0.1) ...\n[...]\n[I] \/etc\/redis\/redis.conf has been copied to \/etc\/valkey\/valkey.conf. Please, review the content of valkey.conf, especially if you had modified redis.conf.\n[I] On-disk redis dumps copied from \/var\/lib\/redis\/ to \/var\/lib\/valkey, and moved to \/var\/lib\/redis-old.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The search and replace also reaches passwords. In the lab, <span class=\"highlighted\">requirepass redisRocks-42<\/span> came out as <span class=\"highlighted\">valkeyRocks-42<\/span>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep -nE '^(user |requirepass|aclfile)' \/etc\/valkey\/valkey.conf | sed -E 's\/#[0-9a-f]{64}\/#&lt;sha256&gt;\/'\n2279:requirepass \"valkeyRocks-42\"\n2283:user default on #&lt;sha256&gt; ~* &amp;* +@all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Started by hand from the migrated config, Valkey loaded all 1,009 keys. Because the file still held the <span class=\"highlighted\">user default<\/span> line from an earlier <span class=\"highlighted\">CONFIG REWRITE<\/span>, the old password kept working and the one now in the file failed with <span class=\"highlighted\">WRONGPASS<\/span>. Without that line the old password was rejected, locking out every client still using it. Ubuntu 26.04 has no such package (archive indexes, December 3, 2026).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Review those lines before you remove the flag file and start Valkey (a re-check ran all three with Valkey started by hand, not through systemd):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo grep -nE '^(user |requirepass|aclfile)' \/etc\/valkey\/valkey.conf\nsudo rm \/etc\/valkey\/REDIS_MIGRATION\nsudo systemctl start valkey-server<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Or replicate, then promote<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Replication shortens the write stop: Valkey runs as a read-only copy of the live Redis until you promote it. From Redis 7.0.15 to Valkey 7.2.14 this worked in the lab, with Valkey on 6380 below. If Redis has a password, put it in <span class=\"highlighted\">\/etc\/valkey\/valkey.conf<\/span> as <span class=\"highlighted\">masterauth<\/span> (use your own Redis password) and restart Valkey; the lab passed the same setting as a startup option. <span class=\"highlighted\">valkey-cli -p 6380 CONFIG SET masterauth<\/span> with the password, then <span class=\"highlighted\">valkey-cli -p 6380 CONFIG REWRITE<\/span>, avoids the restart; a re-check brought the link up that way:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>masterauth \"REDIS-PASSWORD-GOES-HERE\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>valkey-cli -p 6380 REPLICAOF 127.0.0.1 6379\nsleep 10\nvalkey-cli -p 6380 INFO replication | grep -E '^(role|master_link_status|master_sync_in_progress|slave_read_only)'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>role:slave\nmaster_link_status:up\nmaster_sync_in_progress:0\nslave_read_only:1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The replica is ready when <span class=\"highlighted\">master_link_status:up<\/span> and <span class=\"highlighted\">master_sync_in_progress:0<\/span> appear, as in the block above. Without <span class=\"highlighted\">masterauth<\/span>, the lab replica looped on <span class=\"highlighted\">MASTER aborted replication with an error: NOAUTH Authentication required.<\/span> A later attempt promoted the replica inside Redis&#8217;s 5-second wait before a diskless sync (<span class=\"highlighted\">repl-diskless-sync-delay 5<\/span>), which cut the transfer; waiting 8 seconds fixed it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To switch, stop the app&#8217;s writes to Redis, run <span class=\"highlighted\">valkey-cli -p 6380 REPLICAOF NO ONE<\/span> and check for <span class=\"highlighted\">role:master<\/span>. Only then point the app at Valkey, because until it is promoted the replica rejects writes with <span class=\"highlighted\">READONLY<\/span>. Remove the <span class=\"highlighted\">masterauth<\/span> line afterwards, and the <span class=\"highlighted\">replicaof<\/span> line too if a <span class=\"highlighted\">CONFIG REWRITE<\/span> ran while Valkey was still a replica. If the app expects 6379, stop Redis, change Valkey&#8217;s port line to 6379 and restart it; the lab stopped before that port move.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lock-down\">Lock down Redis or Valkey: protected mode, requirepass and ACL<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both Ubuntu packages listen only on loopback (<span class=\"highlighted\">bind 127.0.0.1 -::1<\/span>), keep protected mode on and set no password. Protected mode is a safety catch that makes a passwordless server refuse clients from other machines. For an app on the same VPS that is already safe; the traps come with passwords and users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Guides that say &#8220;all interfaces&#8221; describe the binary started without a config file (<span class=\"highlighted\">* -::*<\/span>). Protected mode then answers outside clients like this on all four versions; Valkey 9.0 drops the word Redis:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user. In this mode connections are only accepted from the loopback interface. [...]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The commands below assume Valkey owns 6379 after the cutover; while both servers run, add <span class=\"highlighted\">-p 6380<\/span>. A password set with <span class=\"highlighted\">CONFIG SET<\/span> works at once and is gone after a restart unless you also run <span class=\"highlighted\">CONFIG REWRITE<\/span>. Store the generated value in your password manager:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PASS=$(openssl rand -hex 24); echo \"$PASS\"\nvalkey-cli CONFIG SET requirepass \"$PASS\"\nvalkey-cli --askpass CONFIG REWRITE<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Without the rewrite, Valkey 7.2.14 answered <span class=\"highlighted\">PONG<\/span> to an anonymous client after a restart. With it, the file gained the password in plain text plus a <span class=\"highlighted\">user default<\/span> line with a SHA-256 hash (lab values):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ grep -n '^requirepass\\|^# Generated by CONFIG REWRITE\\|^user ' \/etc\/valkey\/valkey.conf\n2285:# Generated by CONFIG REWRITE\n2286:requirepass \"lab-Default-pass-91ad\"\n2291:user default on sanitize-payload #71633ec2b51d0a85c8e2e3e6bcce14a1fe5eafaa7b0a3bd2b1bcecdd3e999853 ~* &amp;* +@all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For an application, an ACL user, a named account with its own key patterns and command rights, is the better fit. This one is limited to keys under <span class=\"highlighted\">cache:<\/span>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>APP_PASS=$(openssl rand -hex 24); echo \"$APP_PASS\"\nvalkey-cli --askpass ACL SETUSER cacheapp on \"&gt;$APP_PASS\" '~cache:*' '+@read' '+@write' '-@dangerous'\nvalkey-cli --askpass CONFIG REWRITE<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As <span class=\"highlighted\">cacheapp<\/span>, the lab got <span class=\"highlighted\">NOPERM<\/span> for <span class=\"highlighted\">FLUSHALL<\/span>, <span class=\"highlighted\">CONFIG GET<\/span>, <span class=\"highlighted\">KEYS<\/span> and keys outside <span class=\"highlighted\">cache:<\/span>. ACL users vanish on restart unless saved, by <span class=\"highlighted\">CONFIG REWRITE<\/span> as in the block or, with an <span class=\"highlighted\">aclfile<\/span>, by <span class=\"highlighted\">ACL SAVE<\/span>, and only one of the two. With users already in the config and an <span class=\"highlighted\">aclfile<\/span> line added, Valkey 7.2.14 refused to start:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>21609:M 03 Dec 2026 11:44:29.749 # Configuring Redis with users defined in redis.conf and at the same setting an ACL file path is invalid. This setup is very likely to lead to configuration errors and security holes, please define either an ACL file or declare users directly in your redis.conf, but not both.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Remove the <span class=\"highlighted\">user<\/span> and <span class=\"highlighted\">requirepass<\/span> lines before switching to an ACL file. If an app on another server must connect, bind a private address and open 6379 only to that client, on top of <strong><a href=\"https:\/\/hostry.com\/blog\/secure-new-linux-vps-first-30-minutes\/\">the SSH and UFW baseline for a fresh server<\/a><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"patching\">Keep Valkey patched on 24.04: the noble-updates gap<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu ships updates through pockets, separate channels such as <span class=\"highlighted\">noble-security<\/span> and <span class=\"highlighted\">noble-updates<\/span>. As of early December 2026 the Valkey build with the newest security fixes is only in noble-updates. Stock automatic updates do not install from that pocket, so a server that relies on them stays on 7.2.12.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt-cache policy valkey-server\nvalkey-server:\n  Installed: 7.2.14+dfsg1-0ubuntu0.1\n  Candidate: 7.2.14+dfsg1-0ubuntu0.1\n  Version table:\n *** 7.2.14+dfsg1-0ubuntu0.1 500\n        500 http:\/\/archive.ubuntu.com\/ubuntu noble-updates\/universe amd64 Packages\n        100 \/var\/lib\/dpkg\/status\n     7.2.12+dfsg1-0ubuntu0.1 500\n        500 http:\/\/security.ubuntu.com\/ubuntu noble-security\/universe amd64 Packages<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The 7.2.13 and 7.2.14 changelog entries list five CVE fixes that 7.2.12 lacks; these are the newest two:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ zcat \/usr\/share\/doc\/valkey-server\/changelog.Debian.gz | head -40\nvalkey (7.2.14+dfsg1-0ubuntu0.1) noble; urgency=medium\n\n  * New upstream version 7.2.14 (LP: #2153491)\n    - Security fixes:\n      + CVE-2026-56684: Use-after-free in TLS connection handling via\n        CLIENT KILL.\n      + CVE-2026-63639: Reject corrupt stream RDB with shared NACK across\n        consumers.\n[...]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With Valkey downgraded to the 7.2.12 build from noble-security, an <span class=\"highlighted\">unattended-upgrade<\/span> dry run with the default config skipped it, while apt offered the newer build:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Allowed origins are: o=Ubuntu,a=noble, o=Ubuntu,a=noble-security, o=UbuntuESMApps,a=noble-apps-security, o=UbuntuESM,a=noble-infra-security\n[...]\nvalkey-server\/noble-updates 7.2.14+dfsg1-0ubuntu0.1 amd64 [upgradable from: 7.2.12+dfsg1-0ubuntu0.1]\nvalkey-tools\/noble-updates 7.2.14+dfsg1-0ubuntu0.1 amd64 [upgradable from: 7.2.12+dfsg1-0ubuntu0.1]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Upgrade the two packages by hand and restart the service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install --only-upgrade valkey-server valkey-tools\nsudo systemctl restart valkey-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The wider fix is to uncomment the <span class=\"highlighted\">&#8220;${distro_id}:${distro_codename}-updates&#8221;;<\/span> line in the unattended-upgrades config (the <span class=\"highlighted\">50unattended-upgrades<\/span> file under <span class=\"highlighted\">apt.conf.d<\/span>), which auto-installs every stable update. On 26.04 the lag is the same (9.0.6 in resolute-updates, 9.0.4 in resolute-security); <span class=\"highlighted\">apt-cache policy<\/span> shows where it stands.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dnf\">The dnf side: Fedora, RHEL 10, AlmaLinux and Rocky<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On Fedora and current RHEL the Valkey vs Redis choice is already made, since Valkey replaces Redis in the main repositories. Nothing here was reproduced; it comes from Fedora and Red Hat documentation read on December 3, 2026.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fedora dropped its redis package for Valkey in Fedora 41. The <strong><a href=\"https:\/\/fedoraproject.org\/wiki\/Changes\/Replace_Redis_With_Valkey\" target=\"_blank\" rel=\"noopener\">Fedora change proposal to replace Redis with Valkey<\/a><\/strong> describes a compat package that obsoletes redis and ports configuration and data for common setups. Fedora Packages lists it as <span class=\"highlighted\">valkey-compat-redis<\/span>, the counterpart of Ubuntu 24.04&#8217;s <span class=\"highlighted\">valkey-redis-compat<\/span>, next to valkey 8.1.12 on Fedora 43, 9.0.8 on 44 and 9.1.4 on 45. Fedora Magazine&#8217;s <strong><a href=\"https:\/\/fedoramagazine.org\/how-to-move-from-redis-to-valkey\/\" target=\"_blank\" rel=\"noopener\">guide to moving from Redis to Valkey<\/a><\/strong> uses one command, with <span class=\"highlighted\">&#8211;allowerasing<\/span> so dnf can remove Redis:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install valkey-compat-redis --allowerasing<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Red Hat&#8217;s <strong><a href=\"https:\/\/docs.redhat.com\/en\/documentation\/Red_Hat_Enterprise_Linux\/10\/html\/considerations_in_adopting_rhel_10\/infrastructure-services\" target=\"_blank\" rel=\"noopener\">RHEL 10 adoption notes<\/a><\/strong> list redis among packages no longer included and recommend the <span class=\"highlighted\">valkey<\/span> package. RHEL 9 gained Valkey in 9.7. AlmaLinux and Rocky Linux rebuild RHEL; we did not check their repositories. In a September 2025 AlmaLinux forum thread, <span class=\"highlighted\">dnf install redis<\/span> on AlmaLinux 10 found nothing until the Devel repository was enabled, and then installed <span class=\"highlighted\">valkey-compat-redis<\/span>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-this-means\">What this means for you<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your next Valkey vs Redis step depends on where you start:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>New install on 24.04: <span class=\"highlighted\">apt install valkey-server<\/span>, then take its updates from noble-updates.<\/li><li>Redis 7.0 already on 24.04: nothing forces a move. Run <span class=\"highlighted\">apt-cache policy valkey-server redis-server<\/span> plus a look at the copyright file, and keep a copy of the dump before any switch.<\/li><li>Redis 8 on 26.04 or Debian 13: a later switch means a relaxed load, a plain-command AOF rewrite or a rebuild; test it on a copy.<\/li><li>Fedora or RHEL 10: Valkey is what dnf installs; read the first bytes of any dump that comes from another host.<\/li><\/ul>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>On Ubuntu 24.04, apt install redis still gives BSD-licensed Redis 7.0.15, while 26.04 gives Redis 8.0.5 under RSALv2, SSPLv1 or AGPLv3, with a dump fi&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3237,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"hb_lab_versions":"Valkey 7.2.14, Redis 7.0.15, Valkey 9.0.6, Redis 8.0.5, Ubuntu 24.04, Ubuntu 26.04","hb_offer_kicker":"","hb_offer_title":"","hb_offer_text":"","footnotes":""},"categories":[1,102],"tags":[],"class_list":["post-3227","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-virtual-private-server","category-database"],"read_time":14,"_links":{"self":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/comments?post=3227"}],"version-history":[{"count":2,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3227\/revisions"}],"predecessor-version":[{"id":3239,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3227\/revisions\/3239"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/media\/3237"}],"wp:attachment":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/media?parent=3227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/categories?post=3227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/tags?post=3227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}