{"id":85691,"date":"2026-07-10T07:00:00","date_gmt":"2026-07-10T14:00:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=85691"},"modified":"2026-07-10T07:00:14","modified_gmt":"2026-07-10T14:00:14","slug":"debian-12-vs-debian-13-vps","status":"publish","type":"post","link":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/","title":{"rendered":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026"},"content":{"rendered":"<div class=\"tldr-block\" style=\"display: none;\">\n\t<div class=\"svg\">\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 119.25 37.8\">\n\t<g>\n\t\t<g>\n\t\t\t<path fill=\"#ffffff\" d=\"M23.4,6.93h-8.1v24.57h-7.2V6.93H0V0h23.4v6.93Z\" \/>\n\t\t\t<path fill=\"#ffffff\" d=\"M45,24.57v6.93h-18.45V0h7.2v24.57h11.25Z\" \/>\n\t\t\t<path fill=\"#ffffff\"\n\t\t\t\td=\"M90.9,15.75c0,8.91-6.61,15.75-15.3,15.75h-12.6V0h12.6c8.68,0,15.3,6.84,15.3,15.75ZM83.97,15.75c0-5.4-3.42-8.82-8.37-8.82h-5.4v17.64h5.4c4.95,0,8.37-3.42,8.37-8.82Z\" \/>\n\t\t\t<path fill=\"#ffffff\"\n\t\t\t\td=\"M105.57,21.15h-3.42v10.35h-7.2V0h12.6c5.98,0,10.8,4.81,10.8,10.8,0,3.87-2.34,7.38-5.81,9.13l6.71,11.56h-7.74l-5.94-10.35ZM102.15,14.85h5.4c1.98,0,3.6-1.75,3.6-4.05s-1.62-4.05-3.6-4.05h-5.4v8.1Z\" \/>\n\t\t<\/g>\n\t\t<path\n\t\t\tfill=\"#0173ec\"\n\t\t\td=\"M53.97,37.8h-5.4l1.8-13.27h7.2l-3.6,13.27ZM49.02,12.55c0-2.34,1.93-4.27,4.27-4.27s4.27,1.94,4.27,4.27-1.93,4.27-4.27,4.27-4.27-1.94-4.27-4.27Z\"\n\t\t \/>\n\t<\/g>\n<\/svg>\n\t<\/div>\n\t<div class=\"tldr-wrap\">\n\t\t\n\n<p class=\"wp-block-paragraph\">Debian is a community-run Linux distribution built for stability, with conservative package versions, the smallest install footprint of any mainstream server OS, and roughly five years of support per release.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian 13 (Trixie)<\/strong>, released August 2025, is the recommended default for new VPS deployments in 2026, with combined Security + LTS support through June 30, 2030.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian 12 (Bookworm)<\/strong>, released June 2023, completed full Debian Security team support on July 11, 2026, and is now covered by the Debian LTS team through June 2028.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Debian is the right call for production web servers, Docker hosts (the <strong>debian:bookworm-slim<\/strong> and <strong>debian:trixie-slim<\/strong> images are the de facto container bases), databases, mail, and anything else where boring is a feature.<\/p>\n\n\n\t<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Bookworm. Bullseye. Jessie. Sarge. Woody. <em>Potato.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every Debian release going back to 1996 is named after a Toy Story character. Debian&#8217;s project leader at the time, who happened to work at Pixar \u2014 started slipping the codenames in, and nobody since has decided to stop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The distribution draws its release names from a Pixar franchise older than half of its current maintainers, and is still going strong more than thirty years later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That tells you something about Debian\u2019s priorities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Debian Project does not chase the news cycle. It has no marketing team. It has no parent company. It can\u2019t pivot, get acquired, or change its commercial terms, because there are no commercial terms to change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It ships a release when the release is ready, and then that release sits on a virtual private server (VPS) doing exactly what you provisioned it to do for the next five years.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s the entire pitch, really. Debian is the Linux you choose when you&#8217;d rather not think about your operating system again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The only interesting question \u2014 and the one we\u2019re here to answer \u2014 is whether to pick the proven release (Debian 12) or the current one (Debian 13).<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>Linux<\/h3>\n    <p>Linux refers to a collection of open-source Operating Systems (OS). There\u2019s no single Linux OS. Instead, users can choose from a broad group of Linux distros, all of which provide different experiences.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/linux\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<h2 id=\"h-what-makes-debian-different-from-ubuntu-and-almalinux\" class=\"wp-block-heading\">What Makes Debian Different From Ubuntu and AlmaLinux?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1377\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian.webp\" alt=\"Debian serves as foundational OS for Ubuntu, Proxmox, Raspberry Pi, Kali, and Docker base images.\" class=\"wp-image-85694 lazyload\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian.webp 1600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-300x258.webp 300w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-1024x881.webp 1024w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-768x661.webp 768w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-1536x1322.webp 1536w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-600x516.webp 600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-1200x1033.webp 1200w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-730x628.webp 730w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-1460x1257.webp 1460w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-784x675.webp 784w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-1568x1349.webp 1568w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/01-Everything-Built-on-Debian-877x755.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1377;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Debian is a community-governed Linux distribution with no commercial owner anywhere in the supply chain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Debian Project is run by its developers and funded as a non-profit through Software in the Public Interest. Nobody owns Debian, which means nobody can sell it, change its license, or pivot the roadmap.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That structural fact drives everything Debian is known for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>It\u2019s conservative by design<\/strong>. When a package goes into a stable release, it stays at that version for the life of the release in all but rare, security-team-approved exceptions \u2014 fixes are backported instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>It\u2019s lean.<\/strong> A cold-booted Debian 12 or 13 server install lands around 100 MB of RAM, lower than both Ubuntu Server and AlmaLinux, which typically idle in the 150\u2013200 MB range. That headroom goes to your actual workload.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>It\u2019s the foundation everything else is built on.<\/strong> Ubuntu, Kali, Proxmox VE, and Raspberry Pi OS all derive from Debian. So do the de facto Docker base images for production containers: <strong>debian:bookworm-slim<\/strong> and <strong>debian:trixie-slim<\/strong>.When you run Debian on a <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/beginners-guide-vps\/\">VPS<\/a>, you\u2019re running the same OS that&#8217;s already inside most containers on most servers on the internet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Support runs roughly five years per release <\/strong>\u2014 about three years from the Debian Security team, then two more from the <a target=\"_blank\" href=\"https:\/\/wiki.debian.org\/LTS\">Debian LTS team<\/a>, with an optional Extended LTS layer beyond that if you need it.<\/p>\n\n\n\n<h2 id=\"h-debian-12-vs-debian-13-which-version-should-you-pick\" class=\"wp-block-heading\">Debian 12 vs. Debian 13: Which Version Should You Pick?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1185\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13.webp\" alt=\"Timeline comparing Debian 12 and 13 support lifecycles, showing Debian 13 extends full security coverage to 2027.\" class=\"wp-image-85695 lazyload\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13.webp 1600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-300x222.webp 300w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-1024x758.webp 1024w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-768x569.webp 768w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-1536x1138.webp 1536w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-600x444.webp 600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-1200x889.webp 1200w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-730x541.webp 730w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-1460x1081.webp 1460w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-784x581.webp 784w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-1568x1161.webp 1568w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/02-Debian-12-vs.-Debian-13-877x650.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1185;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For any new VPS deployment in 2026, pick Debian 13 (Trixie). Pick Debian 12 (Bookworm) only if you have a specific reason to match an existing production server&#8217;s toolchain. On a DreamHost self-managed VPS, you&#8217;ll provision Debian 13 directly; choose Debian 12 only on platforms where you control the image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian 12 (Bookworm) <\/strong>shipped in June 2023 with Linux kernel 6.1, Python 3.11, PHP 8.2, and PostgreSQL 15. Full security support ended July 11, 2026; the Debian LTS team now carries security updates through June 30, 2028. Existing Bookworm servers running cleanly don&#8217;t need to be rebuilt. The package set is mature, the corners are well-documented, and the migration story to Debian 13 via <strong>apt full-upgrade<\/strong> is supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"https:\/\/www.debian.org\/News\/2025\/20250809\"><strong>Debian 13 (Trixie)<\/strong><\/a> shipped in August 2025 with kernel 6.12 LTS, Python 3.13, PHP 8.4, PostgreSQL 17, and APT 3.0. Combined Security + LTS coverage runs through June 30, 2030. Phoronix benchmarks <a target=\"_blank\" href=\"https:\/\/www.phoronix.com\/review\/debian-13-benchmarks\">measured roughly 13% better performance on AMD EPYC<\/a> against Debian 12 across mixed workloads, mostly attributable to the newer kernel and the GCC 14 toolchain.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Factor<\/strong><\/th><th><strong>Debian 12 (Bookworm)<\/strong><\/th><th><strong>Debian 13 (Trixie)<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Released<\/td><td>June 2023<\/td><td>August 2025<\/td><\/tr><tr><td>Linux kernel<\/td><td>6.1<\/td><td>6.12 LTS<\/td><\/tr><tr><td>Python<\/td><td>3.11<\/td><td>3.13<\/td><\/tr><tr><td>PHP<\/td><td>8.2<\/td><td>8.4<\/td><\/tr><tr><td>PostgreSQL<\/td><td>15<\/td><td>17<\/td><\/tr><tr><td>APT version<\/td><td>2.6<\/td><td>3.0 (Solver3)<\/td><\/tr><tr><td>Full security support ends<\/td><td>June 2026<\/td><td>August 2028<\/td><\/tr><tr><td>LTS support ends<\/td><td>~June 2028<\/td><td>June 30, 2030<\/td><\/tr><tr><td>Default for new VPS in 2026?<\/td><td>No<\/td><td>Yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Pick Debian 13 if you&#8217;re starting fresh, want the longer support runway, or need the newer toolchain versions. Pick Debian 12 if you&#8217;re cloning a working production server, running software validated only against Bookworm, or working inside an organization that hasn&#8217;t approved Trixie yet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plenty of teams have stayed on Bookworm for 18 months past Trixie&#8217;s release to keep their puppet manifests unchanged, and that was the right call for them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The in-place upgrade path between releases works, but provisioning a new VPS directly on Debian 13 is less work than upgrading in place on production.<\/p>\n\n\n\n<h2 id=\"h-how-much-ram-and-disk-does-debian-need-on-a-vps\" class=\"wp-block-heading\">How Much RAM and Disk Does Debian Need on a VPS?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Officially, Debian&#8217;s minimum for the graphical installer is 780 MB of RAM and 1160 MB of disk. With swap enabled, the <a target=\"_blank\" href=\"https:\/\/www.debian.org\/releases\/stable\/amd64\/ch03s04.en.html\">installer technically completes on as little as 350 MB<\/a>. Those are floor numbers \u2014 don\u2019t plan around them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In practice, a cold-booted Debian 12 or 13 server uses around 100 MB of RAM, leaving the rest of your VPS for your actual workload. A 1 GB VPS gives you roughly 900 MB for the application after the OS loads. That\u2019s comfortable for a small web app, a personal Mastodon instance, a low-traffic mail server, or a couple of lightweight containers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Disk is similarly lean. A clean install consumes a bit over 1 GB. Budget 10 GB total for the OS partition once package caches, log files, and the journal have had a few months to breathe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s a practical starting point for sizing:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Workload<\/strong><\/th><th><strong>Recommended RAM<\/strong><\/th><th><strong>DreamHost Plan<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Web + database on one box, multi-container Docker host<\/td><td>4 GB<\/td><td><strong>Stack 4 (recommended baseline)<\/strong><\/td><\/tr><tr><td>Production database + app + sync service together<\/td><td>8 GB<\/td><td>Stack 8<\/td><\/tr><tr><td>Heavy multi-tenant workload, large database, CI runner<\/td><td>16 GB+<\/td><td>Stack 16<\/td><\/tr><tr><td>Large production workload, memory-intensive database, analytics platform, or multiple services<\/td><td>32 GB<\/td><td>Stack 32<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Based on what we see across DreamHost VPS deployments, Stack 4 (4 GB RAM) is the sweet spot for most setups. Debian&#8217;s footprint leaves so much room that your workload, not the OS, determines when you need to scale up. Move to Stack 8 when you&#8217;re running a database, a web server, and an application simultaneously and want each one to have breathing room.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One last thing worth calling out: NVMe storage matters even when disk capacity doesn\u2019t. Package installs, container layer extraction, and database fsync calls all live on disk I\/O, and NVMe is roughly five to ten times faster than SATA on small-block random reads and writes. It\u2019s the kind of thing you don\u2019t notice until you\u2019re on a server without it.<\/p>\n\n\n\n<h2 id=\"h-how-do-you-set-up-a-debian-vps\" class=\"wp-block-heading\">How Do You Set Up a Debian VPS?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Six steps cover the first hour after a fresh Debian install. Do them in order: hostname, sudo user, SSH, firewall, automatic security updates, DNS. Debian will largely take care of itself from there.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1334\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS.webp\" alt=\"First-hour security hardening sequence for Debian VPS: hostname, user account, login lockdown, firewall, auto-updates, domain.\" class=\"wp-image-85696 lazyload\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS.webp 1600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-300x250.webp 300w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-1024x854.webp 1024w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-768x640.webp 768w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-1536x1281.webp 1536w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-600x500.webp 600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-1200x1001.webp 1200w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-730x609.webp 730w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-1460x1217.webp 1460w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-784x654.webp 784w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-1568x1307.webp 1568w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/03-First-Hour-on-a-Debian-VPS-877x731.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1334;\" \/><\/figure>\n\n\n\n<h3 id=\"h-1-set-the-hostname\" class=\"wp-block-heading\">1. Set the Hostname<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo hostnamectl set-hostname your-server-name<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The hostname shows up in logs, shells, and any monitoring you add later. Pick something descriptive. You&#8217;ll thank yourself when you\u2019re managing three VPSes at once.<\/p>\n\n\n\n<h3 id=\"h-2-create-a-sudo-user\" class=\"wp-block-heading\">2. Create a sudo User<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo adduser deploy\nsudo usermod -aG sudo deploy<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Don\u2019t run a production server day-to-day as root. The <strong><code>sudo<\/code><\/strong> group on Debian grants full root access via <strong><code>sudo<\/code><\/strong> with a password prompt, which is the right default. After this step, log out of root and log back in as <strong><code>deploy<\/code><\/strong>.<\/p>\n\n\n\n<h3 id=\"h-3-lock-down-ssh\" class=\"wp-block-heading\">3. Lock Down SSH<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Copy your public key first:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh-copy-id deploy@your-server-ip<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then, disable password authentication and root login by dropping a config file into <strong>\/etc\/ssh\/sshd_config.d\/<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/etc\/ssh\/sshd_config.d\/99-hardening.conf\nPasswordAuthentication no\nPermitRootLogin no<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Reload the <a href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/ssh\/\" target=\"_blank\">SSH<\/a> daemon:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl reload ssh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Before you close your current terminal, confirm you can still log in from a second one. Every server admin has a story about why this step matters.<\/p>\n\n\n\n<h3 id=\"h-4-enable-a-firewall\" class=\"wp-block-heading\">4. Enable a Firewall<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The simplest path is ufw (Uncomplicated Firewall), which manages the firewall in two commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt install ufw\nsudo ufw allow 22\/tcp\nsudo ufw allow 80\/tcp\nsudo ufw allow 443\/tcp\nsudo ufw enable<\/strong><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;d rather configure nftables directly, it comes pre-installed, and the Debian wiki has a current example config. Either way, the <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/firewall\/\">firewall<\/a> should default-deny and explicitly open only the ports you need.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>Firewall<\/h3>\n    <p>A firewall is a set of rules that governs incoming and outgoing connections for a network or a specific device. The goal of firewalls is to protect against intrusions and unwanted outgoing connections.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/firewall\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<h3 id=\"h-5-turn-on-automatic-security-upgrades\" class=\"wp-block-heading\">5. Turn on Automatic Security Upgrades<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the single most underrated Debian feature for VPS deployments \u2014 and one of the first things we recommend enabling on any DreamHost VPS. The Debian Security team ships fixes for high-profile CVEs fast \u2014 often within a day or two for coordinated disclosures \u2014 and unattended-upgrades applies them automatically while you&#8217;re not paying attention.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt install unattended-upgrades\nsudo dpkg-reconfigure -plow unattended-upgrades<\/strong><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Select &#8220;Yes&#8221; at the prompt. Confirm it\u2019s running with <code>systemctl status unattended-upgrades<\/code>. That\u2019s it \u2014 Debian patches itself overnight as advisories ship.<\/p>\n\n\n\n<h3 id=\"h-6-point-a-domain-at-the-vps\" class=\"wp-block-heading\">6. Point a Domain at the VPS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In your DNS provider, add an A record for your VPS\u2019s IPv4 address and an AAAA record for the IPv6 address if you have one. Wait a few minutes for propagation, then run <strong>ping yourdomain.com<\/strong> from the VPS to confirm everything is resolved correctly.<\/p>\n\n\n\n<h2 id=\"h-when-should-you-use-debian-on-a-vps\" class=\"wp-block-heading\">When Should You Use Debian on a VPS?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Debian is the right pick for any workload where you want the OS to disappear into the background and stay there. That covers most of what people actually run on VPSes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pick Debian for:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Production web servers running nginx, Apache, or Caddy<\/li>\n\n\n\n<li>Docker hosts, where running Debian on the host and <strong>debian:*-slim<\/strong> inside the containers removes a whole class of glibc and packaging edge cases<\/li>\n\n\n\n<li>PostgreSQL, MySQL, and MariaDB production databases<\/li>\n\n\n\n<li>Mail servers built on Postfix and Dovecot \u2014 a stack that&#8217;s been running on Debian boxes for two decades<\/li>\n\n\n\n<li>Backup servers, file servers, anything that runs once and serves quietly<\/li>\n\n\n\n<li>Any VPS where you want to provision the box, set unattended security upgrades, and genuinely not look at it again for a year<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Don\u2019t pick Debian for:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Workloads that need bleeding-edge kernel modules, such as freshly merged GPU support or networking hardware released in the last six months<\/li>\n\n\n\n<li>GPU-heavy ML or AI workloads where you want the latest CUDA toolkit aligned with the newest kernel<\/li>\n\n\n\n<li>Desktop Linux on a workstation where you want the latest GNOME or KDE every six months<\/li>\n\n\n\n<li>Anything that explicitly requires a Red Hat\u2013style ecosystem (rpm, SELinux on by default, RHEL package versions), which is AlmaLinux territory<\/li>\n<\/ul>\n\n\n\n<h3 id=\"h-how-does-debian-compare-to-the-alternatives\" class=\"wp-block-heading\">How Does Debian Compare to the Alternatives?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Debian isn\u2019t the right call for every situation. Knowing where it loses is as useful as knowing where it wins. Two comparisons cover most of the decision points:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian vs. Ubuntu LTS:<\/strong> Ubuntu gets you newer packages by default, commercial backing from Canonical, and up to ten years of Extended Security Maintenance via Ubuntu Pro. The trade-off is a slightly heavier install and a corporation in the supply chain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pick Ubuntu when you want a commercial backstop or need newer packages out of the box. Pick Debian when you want the leanest, longest-running base with nobody upstream who can change the deal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian vs. AlmaLinux 9:<\/strong> AlmaLinux is a different ecosystem entirely. It&#8217;s RHEL binary-compatible, uses <strong>yum<\/strong>\/<strong>dnf<\/strong> for package management, and ships SELinux on by default. Pick AlmaLinux when your team already runs RHEL or CentOS in production, or when compliance frameworks require RHEL-family parity. Pick Debian for almost everything else.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At DreamHost, we\u2019d point most personal projects, indie production servers, and small-team workloads toward Debian by default \u2014 unless the Red Hat ecosystem is already in play, or you have a specific reason to need Ubuntu\u2019s package freshness.<\/p>\n\n\n\n<h2 id=\"h-when-does-self-managed-vps-make-sense-for-a-debian-server\" class=\"wp-block-heading\">When Does Self-Managed VPS Make Sense for a Debian Server?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/vps\/\">self-managed VPS<\/a> should offer full root access, a clean Debian install at provision time, and no managed-services layer interpreting your <strong>apt<\/strong> commands. That suits Debian, which assumes its administrator knows what they&#8217;re doing and is wired to stay out of the way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A few specifics line up well with the way Debian is typically run on a VPS:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>NVMe storage on every Stack tier.<\/strong> Apt operations, container layer extraction, database commits, log rotation \u2014 all the operations that dominate a Linux server&#8217;s perceived speed \u2014 live on disk I\/O.<\/li>\n\n\n\n<li><strong>Unmetered bandwidth.<\/strong> Backup servers, mail relays, sync targets, container registries, and anything else that ships data out runs without a billing surprise.<\/li>\n\n\n\n<li><strong>Choice of OS at provision time<\/strong>. Debian 13 is available at provision time, alongside Ubuntu 24.04 LTS and AlmaLinux 9.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">4 GB RAM is the recommended starting point for most Debian deployments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step up to 8 GB when you&#8217;re running a database, a web tier, and an application on the same box and want each one to have memory headroom.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a deeper dive into the OS layer specifically, explore our pages covering <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/debian\/\">Debian<\/a>, <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/ubuntu\/\">Ubuntu<\/a> and <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/alma-linux\/\">AlmaLinux<\/a>. And if you&#8217;re moving an existing application off shared hosting, a self-managed VPS gives you the path from managed to root-access deployment.<\/p>\n\n\n\n<h2 id=\"h-forky-is-next\" class=\"wp-block-heading\">Forky Is Next<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Debian 14, codenamed Forky, is currently in testing. By the time it ships sometime in 2027 or 2028, the Bookworm VPS you provision today will still be running, still patching itself overnight, and still consuming around 100 MB of RAM. The Trixie VPS will look identical to the day you booted it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s the thing about boring infrastructure: it compounds. Every hour you\u2019re not thinking about your operating system is an hour you\u2019re spending on the thing you actually set the server to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pick Bookworm if you have a reason to. Pick Trixie if you don&#8217;t. Either way, Debian has a way of becoming the part of your stack you never have to worry about again.<\/p>\n\n\n\n<h2 id=\"h-frequently-asked-questions-about-debian-on-a-vps\" class=\"wp-block-heading\">Frequently Asked Questions About Debian on a VPS<\/h2>\n\n\n\n<h3 id=\"h-is-debian-12-still-supported-in-2026\" class=\"wp-block-heading\">Is Debian 12 still supported in 2026?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes \u2014 Debian 12 (Bookworm) is still supported in 2026. Full Debian Security team coverage ended July 11, 2026, and the Debian LTS team now provides security updates through June 30, 2028. Existing Debian 12 production servers don&#8217;t need to migrate immediately, though new deployments should default to Debian 13 for the longer support runway.<\/p>\n\n\n\n<h3 id=\"h-should-you-upgrade-from-debian-12-to-debian-13\" class=\"wp-block-heading\">Should you upgrade from Debian 12 to Debian 13?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bookworm has already passed its June 2026 handoff from the Security team to the LTS team, so there&#8217;s no immediate emergency \u2014 but plan the move before LTS coverage ends in June 2028.<\/p>\n\n\n\n<h3 id=\"h-is-debian-better-than-ubuntu-for-a-vps\" class=\"wp-block-heading\">Is Debian better than Ubuntu for a VPS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Debian is better than <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/check-ubuntu-version\/\">Ubuntu<\/a> for a VPS when you want a minimum-overhead install, no commercial entity in the supply chain, and the longest-running stable base. Ubuntu is better when you need newer packages by default, commercial support via Canonical, or Ubuntu Pro&#8217;s ten-year Extended Security Maintenance window.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For most personal projects, indie production servers, and small-team workloads, Debian&#8217;s leaner footprint and unhurried release cadence make it the better fit. For teams that already standardize on Ubuntu, or need newer package versions in mainline (not via backports), Ubuntu LTS is the right call.<\/p>\n\n\n\n<h3 id=\"h-what-is-the-minimum-ram-for-a-debian-vps\" class=\"wp-block-heading\">What is the minimum RAM for a Debian VPS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The official minimum RAM for a Debian VPS is 780 MB for a normal install, per the Debian installation manual. With swap enabled, the installer technically completes on as little as 350 MB. In practice, a cold-booted Debian server install uses 100 MB of RAM, leaving the rest of the VPS for the actual workload. Most production VPS plans start at 1 GB, which is comfortable for a single-app deployment.<\/p>\n\n\n\n<h3 id=\"h-why-is-debian-the-default-linux-for-docker-base-images\" class=\"wp-block-heading\">Why is Debian the default Linux for Docker base images?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Debian is the default Linux for production Docker base images because debian:bookworm-slim and debian:trixie-slim produce a compact container base (roughly 30 MB compressed) while keeping glibc compatibility for the vast majority of software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alpine images are smaller, but Alpine uses musl libc, which breaks compatibility with some Python wheels, Node.js native modules, and any binary compiled against glibc. Debian-slim is the safe default; you only step away from it for specific reasons.<\/p>\n\n\n\n<h3 id=\"h-can-you-run-debian-on-a-5-month-vps\" class=\"wp-block-heading\">Can you run Debian on a $5\/month VPS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, Debian is the strongest choice of major Linux distros for a $5\/month VPS specifically because its cold-boot footprint is roughly 100 MB of RAM. A 1 GB VPS gives you around 900 MB for the application after the OS loads. That headroom is enough for a small web app, a personal Mastodon instance, a low-traffic mail server, or a couple of lightweight containers. Step up to a 2 GB or 4 GB plan once the workload starts pressing against that envelope.<\/p>\n\n\n<p><script type=\"application\/ld+json\"><br \/>\n{<br \/>\n  \"@context\": \"https:\/\/schema.org\",<br \/>\n  \"@graph\": [<br \/>\n    {<br \/>\n      \"@type\": \"FAQPage\",<br \/>\n      \"mainEntity\": [<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Is Debian 12 still supported in 2026?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Yes \u2014 Debian 12 (Bookworm) is still supported in 2026. Full Debian Security team coverage ended July 11, 2026, and the Debian LTS team now provides security updates through June 30, 2028. Existing Debian 12 production servers don't need to migrate immediately, though new deployments should default to Debian 13 for the longer support runway.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Should you upgrade from Debian 12 to Debian 13?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Bookworm has already passed its June 2026 handoff from the Security team to the LTS team, so there's no immediate emergency \u2014 but plan the move before LTS coverage ends in June 2028.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Is Debian better than Ubuntu for a VPS?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Debian is better than Ubuntu for a VPS when you want a minimum-overhead install, no commercial entity in the supply chain, and the longest-running stable base. Ubuntu is better when you need newer packages by default, commercial support via Canonical, or Ubuntu Pro's ten-year Extended Security Maintenance window.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"What is the minimum RAM for a Debian VPS?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"The official minimum RAM for a Debian VPS is 780 MB for a normal install, per the Debian installation manual. With swap enabled, the installer technically completes on as little as 350 MB. In practice, a cold-booted Debian server install uses 100 MB of RAM, leaving the rest of the VPS for the actual workload. Most production VPS plans start at 1 GB, which is comfortable for a single-app deployment.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Why is Debian the default Linux for Docker base images?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Debian is the default Linux for production Docker base images because debian:bookworm-slim and debian:trixie-slim produce a compact container base (roughly 30 MB compressed) while keeping glibc compatibility for the vast majority of software. Alpine images are smaller, but Alpine uses musl libc, which breaks compatibility with some Python wheels, Node.js native modules, and any binary compiled against glibc. Debian-slim is the safe default; you only step away from it for specific reasons.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Can you run Debian on a $5\/month VPS?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Yes, Debian is the strongest choice of major Linux distros for a $5\/month VPS specifically because its cold-boot footprint is roughly 100 MB of RAM. A 1 GB VPS gives you around 900 MB for the application after the OS loads. That headroom is enough for a small web app, a personal Mastodon instance, a low-traffic mail server, or a couple of lightweight containers. Step up to a 2 GB or 4 GB plan once the workload starts pressing against that envelope.\"<br \/>\n          }<br \/>\n        }<br \/>\n      ]<br \/>\n    },<br \/>\n    {<br \/>\n      \"@type\": \"HowTo\",<br \/>\n      \"name\": \"How to set up a Debian VPS\",<br \/>\n      \"step\": [<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Set the hostname\",<br \/>\n          \"text\": \"Run sudo hostnamectl set-hostname your-server-name. The hostname shows up in logs, shells, and any monitoring you add later, so pick something descriptive.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Create a sudo user\",<br \/>\n          \"text\": \"Create a non-root user with sudo adduser deploy and grant it administrative rights with sudo usermod -aG sudo deploy, then log in as that user instead of root.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Lock down SSH\",<br \/>\n          \"text\": \"Copy your public key with ssh-copy-id deploy@your-server-ip, then disable password authentication and root login by adding PasswordAuthentication no and PermitRootLogin no to \/etc\/ssh\/sshd_config.d\/99-hardening.conf and reloading the SSH daemon with sudo systemctl reload ssh.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Enable a firewall\",<br \/>\n          \"text\": \"Install ufw and open only the ports you need: sudo apt install ufw, then sudo ufw allow 22\/tcp, sudo ufw allow 80\/tcp, sudo ufw allow 443\/tcp, and sudo ufw enable.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Turn on automatic security upgrades\",<br \/>\n          \"text\": \"Install unattended-upgrades with sudo apt install unattended-upgrades, then run sudo dpkg-reconfigure -plow unattended-upgrades and select Yes so Debian applies security fixes automatically.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"Point a domain at the VPS\",<br \/>\n          \"text\": \"At your DNS provider, add an A record for the VPS's IPv4 address and an AAAA record for the IPv6 address if you have one, then verify with ping yourdomain.com.\"<br \/>\n        }<br \/>\n      ]<br \/>\n    }<br \/>\n  ]<br \/>\n}<br \/>\n<\/script><\/p>","protected":false},"excerpt":{"rendered":"<p>Bookworm. Bullseye. Jessie. Sarge. Woody. Potato. Every Debian release going back to 1996 is named after a Toy Story character. Debian&#8217;s project leader at the time, who happened to work at Pixar \u2014 started slipping the codenames in, and nobody since has decided to stop. The distribution draws its release names from a Pixar franchise [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":85693,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_opengraph-title":"Debian 12 or Debian 13? Choose the Right VPS Release","_yoast_wpseo_opengraph-description":"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.","_yoast_wpseo_twitter-title":"Debian 12 or Debian 13? Choose the Right VPS Release","_yoast_wpseo_twitter-description":"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.","toc_headlines":"[[\"h-what-makes-debian-different-from-ubuntu-and-almalinux\",\"What Makes Debian Different From Ubuntu and AlmaLinux?\"],[\"h-debian-12-vs-debian-13-which-version-should-you-pick\",\"Debian 12 vs. Debian 13: Which Version Should You Pick?\"],[\"h-how-much-ram-and-disk-does-debian-need-on-a-vps\",\"How Much RAM and Disk Does Debian Need on a VPS?\"],[\"h-how-do-you-set-up-a-debian-vps\",\"How Do You Set Up a Debian VPS?\"],[\"h-when-should-you-use-debian-on-a-vps\",\"When Should You Use Debian on a VPS?\"],[\"h-when-does-self-managed-vps-make-sense-for-a-debian-server\",\"When Does Self-Managed VPS Make Sense for a Debian Server?\"],[\"h-forky-is-next\",\"Forky Is Next\"],[\"h-frequently-asked-questions-about-debian-on-a-vps\",\"Frequently Asked Questions About Debian on a VPS\"]]","hide_toc":false,"show_updated_at":"0","footnotes":""},"categories":[550,807,804],"tags":[],"class_list":["post-85691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-vps-hosting","category-web-hosting"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026 - DreamHost<\/title>\n<meta name=\"description\" content=\"Pick Debian 12 or 13 for your VPS with confidence. Stability, footprint, real workloads, and how it stacks up against Ubuntu and AlmaLinux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Debian 12 or Debian 13? Choose the Right VPS Release\" \/>\n<meta property=\"og:description\" content=\"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-10T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-10T14:00:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1220x628_OGIMAGE_Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Dallas Kashuba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Debian 12 or Debian 13? Choose the Right VPS Release\" \/>\n<meta name=\"twitter:description\" content=\"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/dallas\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dallas Kashuba\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026 - DreamHost","description":"Pick Debian 12 or 13 for your VPS with confidence. Stability, footprint, real workloads, and how it stacks up against Ubuntu and AlmaLinux.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/","og_locale":"en_US","og_type":"article","og_title":"Debian 12 or Debian 13? Choose the Right VPS Release","og_description":"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.","og_url":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2026-07-10T14:00:00+00:00","article_modified_time":"2026-07-10T14:00:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1220x628_OGIMAGE_Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp","type":"image\/webp"}],"author":"Dallas Kashuba","twitter_card":"summary_large_image","twitter_title":"Debian 12 or Debian 13? Choose the Right VPS Release","twitter_description":"A side-by-side look at Debian 12 and Debian 13 on a VPS: support windows, memory footprint, setup steps, and when each release is the right call.","twitter_creator":"@http:\/\/twitter.com\/dallas","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Dallas Kashuba","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#article","isPartOf":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/"},"author":{"name":"Dallas Kashuba","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/person\/f6a12ad459538e8e418cf31b8b603814"},"headline":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026","datePublished":"2026-07-10T14:00:00+00:00","dateModified":"2026-07-10T14:00:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/"},"wordCount":2709,"publisher":{"@id":"https:\/\/www.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1460x1095-BLOG-HERO-Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp","articleSection":["Tutorials","VPS Hosting","Web Hosting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/","url":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/","name":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026 - DreamHost","isPartOf":{"@id":"https:\/\/www.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1460x1095-BLOG-HERO-Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp","datePublished":"2026-07-10T14:00:00+00:00","dateModified":"2026-07-10T14:00:14+00:00","description":"Pick Debian 12 or 13 for your VPS with confidence. Stability, footprint, real workloads, and how it stacks up against Ubuntu and AlmaLinux.","breadcrumb":{"@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#primaryimage","url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1460x1095-BLOG-HERO-Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp","contentUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/07\/1460x1095-BLOG-HERO-Debian-12-vs.-Debian-13-on-a-VPS_-Which-To-Pick-in-2026.webp","width":1460,"height":1095,"caption":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dreamhost.com\/blog\/debian-12-vs-debian-13-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dreamhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Debian 12 vs. Debian 13 on a VPS: Which To Pick in 2026"}]},{"@type":"WebSite","@id":"https:\/\/www.dreamhost.com\/blog\/#website","url":"https:\/\/www.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/person\/f6a12ad459538e8e418cf31b8b603814","name":"Dallas Kashuba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","caption":"Dallas Kashuba"},"description":"Dallas Kashuba co-founded DreamHost while attending Harvey Mudd College and has spent nearly three decades building infrastructure at scale. Today he serves as an advisor, board member, and investor for various tech startups, with a consistent focus on user privacy, open source, and data portability. When he's not thinking about the Open Web, he's probably making music. Follow Dallas on X.","sameAs":["http:\/\/www.idallas.com\/","https:\/\/x.com\/http:\/\/twitter.com\/dallas"],"url":"https:\/\/www.dreamhost.com\/blog\/author\/dallas\/"}]}},"lang":"en","translations":{"en":85691},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/85691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":4,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/85691\/revisions"}],"predecessor-version":[{"id":85712,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/85691\/revisions\/85712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/85693"}],"wp:attachment":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=85691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=85691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=85691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}