<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debian 12 Guides</title><link>https://docs.bworm.us/</link><description>Practical Debian 12 server guides — tutorials, tips, and tools for Linux sysadmins.</description><generator>Hugo 0.160.1 &amp; FixIt v0.4.5</generator><language>en</language><lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.bworm.us/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started with Debian 12 on a VPS</title><link>https://docs.bworm.us/guides/getting-started/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><guid>https://docs.bworm.us/guides/getting-started/</guid><category domain="https://docs.bworm.us/categories/getting-started/">Getting Started</category><description>&lt;img src="https://linuxserverguides.us/resource/3d-server.webp" alt="featured image" referrerpolicy="no-referrer"&gt;&lt;h2 class="heading-element" id="overview"&gt;&lt;span&gt;Overview&lt;/span&gt;
 &lt;a href="#overview" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;This guide walks you through the first steps on a brand-new Debian 12 (Bookworm) VPS.
You will end up with a hardened, production-ready server in under 30 minutes.
If you need a VPS to follow along, &lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;Contabo&lt;/a&gt; &lt;em&gt;(affiliate)&lt;/em&gt; offers 4 vCPUs and 8 GB RAM from &lt;strong&gt;$5.50/month&lt;/strong&gt; — great value for Debian 12 deployments.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Full guide&lt;/strong&gt; → &lt;a href="https://linuxserverguides.com/initial-server-setup-debian-12-contabo.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Initial Server Setup on Debian 12&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="step-1--update-the-system"&gt;&lt;span&gt;Step 1 — Update the System&lt;/span&gt;
 &lt;a href="#step-1--update-the-system" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt update &amp;amp;&amp;amp; apt full-upgrade -y&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-2--create-a-sudo-user"&gt;&lt;span&gt;Step 2 — Create a Sudo User&lt;/span&gt;
 &lt;a href="#step-2--create-a-sudo-user" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;adduser deploy
usermod -aG sudo deploy&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-3--harden-ssh"&gt;&lt;span&gt;Step 3 — Harden SSH&lt;/span&gt;
 &lt;a href="#step-3--harden-ssh" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Edit &lt;code&gt;/etc/ssh/sshd_config&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;systemctl restart sshd&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-4--configure-ufw-firewall"&gt;&lt;span&gt;Step 4 — Configure UFW Firewall&lt;/span&gt;
 &lt;a href="#step-4--configure-ufw-firewall" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt install ufw -y
ufw allow OpenSSH
ufw enable&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-5--install-essential-packages"&gt;&lt;span&gt;Step 5 — Install Essential Packages&lt;/span&gt;
 &lt;a href="#step-5--install-essential-packages" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt install -y curl wget git unzip htop fail2ban&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;
&lt;h2 class="heading-element" id="-check-them-out--contabo-vps"&gt;&lt;span&gt;🖥️ Check Them Out — Contabo VPS&lt;/span&gt;
 &lt;a href="#-check-them-out--contabo-vps" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Running these guides on a real server makes all the difference. Contabo offers some of the best
VPS value around — NVMe SSDs, generous RAM, and Debian 12 available out of the box.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Plan&lt;/th&gt;
 &lt;th&gt;vCPUs&lt;/th&gt;
 &lt;th&gt;RAM&lt;/th&gt;
 &lt;th&gt;Storage&lt;/th&gt;
 &lt;th&gt;Price&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;VPS S&lt;/td&gt;
 &lt;td&gt;4&lt;/td&gt;
 &lt;td&gt;8 GB&lt;/td&gt;
 &lt;td&gt;100 GB NVMe&lt;/td&gt;
 &lt;td&gt;~$5.50/mo&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;VPS M&lt;/td&gt;
 &lt;td&gt;6&lt;/td&gt;
 &lt;td&gt;16 GB&lt;/td&gt;
 &lt;td&gt;200 GB NVMe&lt;/td&gt;
 &lt;td&gt;~$9.50/mo&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;VPS L&lt;/td&gt;
 &lt;td&gt;8&lt;/td&gt;
 &lt;td&gt;24 GB&lt;/td&gt;
 &lt;td&gt;300 GB NVMe&lt;/td&gt;
 &lt;td&gt;~$13.50/mo&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Check Out Contabo VPS Plans&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;
 
&lt;a href="https://docs.bworm.us/go/contabo-dedicated" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Need More Power? Dedicated Servers&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="more-guides"&gt;&lt;span&gt;More Guides&lt;/span&gt;
 &lt;a href="#more-guides" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/nginx-web-server-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Nginx Web Server on Debian 12&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/configuring-firewall-ufw-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;UFW Firewall Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/securing-debian-12-vps-ssh-key-authentication.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;SSH Key Authentication&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Install Nginx on Debian 12</title><link>https://docs.bworm.us/guides/nginx-debian-12/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><guid>https://docs.bworm.us/guides/nginx-debian-12/</guid><category domain="https://docs.bworm.us/categories/web-servers/">Web Servers</category><description>&lt;img src="https://linuxserverguides.us/resource/nginx-1.webp" alt="featured image" referrerpolicy="no-referrer"&gt;&lt;h2 class="heading-element" id="overview"&gt;&lt;span&gt;Overview&lt;/span&gt;
 &lt;a href="#overview" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Nginx is the world&amp;rsquo;s most popular web server. This guide covers installation,
virtual host configuration, and basic security hardening on Debian 12.
Running Nginx on a solid VPS matters — &lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;Contabo&lt;/a&gt; &lt;em&gt;(affiliate)&lt;/em&gt; gives you NVMe-backed servers
with plenty of bandwidth for web hosting from &lt;strong&gt;$5.50/month&lt;/strong&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Full guide&lt;/strong&gt; → &lt;a href="https://linuxserverguides.com/nginx-web-server-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Nginx Web Server on Debian 12&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="step-1--install-nginx"&gt;&lt;span&gt;Step 1 — Install Nginx&lt;/span&gt;
 &lt;a href="#step-1--install-nginx" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt update
apt install nginx -y
systemctl enable --now nginx&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-2--configure-a-virtual-host"&gt;&lt;span&gt;Step 2 — Configure a Virtual Host&lt;/span&gt;
 &lt;a href="#step-2--configure-a-virtual-host" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;nano /etc/nginx/sites-available/example.com&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;server {
 listen 80;
 server_name example.com www.example.com;
 root /var/www/example.com;
 index index.html;

 location / {
 try_files $uri $uri/ =404;
 }
}&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
nginx -t &amp;amp;&amp;amp; systemctl reload nginx&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-3--open-firewall-port"&gt;&lt;span&gt;Step 3 — Open Firewall Port&lt;/span&gt;
 &lt;a href="#step-3--open-firewall-port" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;ufw allow &amp;#39;Nginx Full&amp;#39;&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;
&lt;h2 class="heading-element" id="-check-them-out--contabo-hosting"&gt;&lt;span&gt;🖥️ Check Them Out — Contabo Hosting&lt;/span&gt;
 &lt;a href="#-check-them-out--contabo-hosting" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Nginx performs best on fast hardware. Contabo delivers serious VPS and dedicated server specs
at prices that don&amp;rsquo;t hurt — perfect for self-hosting your sites and apps.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;VPS&lt;/strong&gt; — 4 vCPUs, 8 GB RAM, 100 GB NVMe from &lt;strong&gt;~$5.50/mo&lt;/strong&gt; → great for most Nginx setups&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dedicated&lt;/strong&gt; — 6-core bare metal, no noisy neighbours → ideal for high-traffic production&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Check Out Contabo VPS&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;
 
&lt;a href="https://docs.bworm.us/go/contabo-dedicated" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Check Out Contabo Dedicated Servers&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="more-guides"&gt;&lt;span&gt;More Guides&lt;/span&gt;
 &lt;a href="#more-guides" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/lets-encrypt-ssl-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Let&amp;rsquo;s Encrypt SSL on Debian 12&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/reverse-proxy-nginx-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Nginx Reverse Proxy Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/setting-up-lamp-stack-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;LAMP Stack on Debian 12&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Install Docker on Debian 12</title><link>https://docs.bworm.us/guides/docker-debian-12/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><guid>https://docs.bworm.us/guides/docker-debian-12/</guid><category domain="https://docs.bworm.us/categories/security--devops/">Security &amp; DevOps</category><description>&lt;img src="https://linuxserverguides.us/resource/Docker.webp" alt="featured image" referrerpolicy="no-referrer"&gt;&lt;h2 class="heading-element" id="overview"&gt;&lt;span&gt;Overview&lt;/span&gt;
 &lt;a href="#overview" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Docker lets you run applications in isolated containers. This guide installs
Docker Engine from the official Docker repository on Debian 12.
Containers shine on a reliable VPS — &lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;Contabo&lt;/a&gt; &lt;em&gt;(affiliate)&lt;/em&gt; gives you dedicated resources
(not shared) so your containers don&amp;rsquo;t compete for CPU and RAM.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Full guide&lt;/strong&gt; → &lt;a href="https://linuxserverguides.com/installing-docker-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Installing Docker on Debian 12&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="step-1--add-dockers-official-repo"&gt;&lt;span&gt;Step 1 — Add Docker&amp;rsquo;s Official Repo&lt;/span&gt;
 &lt;a href="#step-1--add-dockers-official-repo" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt update
apt install -y ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | \
 gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a&amp;#43;r /etc/apt/keyrings/docker.gpg

echo &amp;#34;deb [arch=$(dpkg --print-architecture) \
 signed-by=/etc/apt/keyrings/docker.gpg] \
 https://download.docker.com/linux/debian \
 $(. /etc/os-release &amp;amp;&amp;amp; echo &amp;#34;$VERSION_CODENAME&amp;#34;) stable&amp;#34; | \
 tee /etc/apt/sources.list.d/docker.list &amp;gt; /dev/null&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-2--install-docker"&gt;&lt;span&gt;Step 2 — Install Docker&lt;/span&gt;
 &lt;a href="#step-2--install-docker" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;apt update
apt install -y docker-ce docker-ce-cli containerd.io \
 docker-buildx-plugin docker-compose-plugin&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="step-3--verify"&gt;&lt;span&gt;Step 3 — Verify&lt;/span&gt;
 &lt;a href="#step-3--verify" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;docker run hello-world
docker compose version&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;
&lt;h2 class="heading-element" id="-check-them-out--contabo-vps-for-docker"&gt;&lt;span&gt;🖥️ Check Them Out — Contabo VPS for Docker&lt;/span&gt;
 &lt;a href="#-check-them-out--contabo-vps-for-docker" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Docker and containers need RAM and fast I/O to perform well. Contabo VPS plans are a solid fit —
generous RAM per dollar, NVMe storage, and no hidden throttling on your containers.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;VPS S&lt;/strong&gt; — 4 vCPUs, 8 GB RAM → comfortable for 5–10 Docker services&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;VPS M&lt;/strong&gt; — 6 vCPUs, 16 GB RAM → great for Docker Swarm or heavier stacks&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dedicated&lt;/strong&gt; — bare metal, 6-core → full isolation, zero noisy neighbours&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://docs.bworm.us/go/contabo-us" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Check Out Contabo VPS&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;
 
&lt;a href="https://docs.bworm.us/go/contabo-dedicated" target="_blank" rel="external nofollow noopener noreferrer"&gt;&lt;strong&gt;→ Check Out Contabo Dedicated&lt;/strong&gt;&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 class="heading-element" id="more-guides"&gt;&lt;span&gt;More Guides&lt;/span&gt;
 &lt;a href="#more-guides" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/docker-compose-beginners-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Docker Compose for Beginners&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://linuxserverguides.com/kubernetes-cluster-debian-12.html" target="_blank" rel="external nofollow noopener noreferrer"&gt;Kubernetes on Debian 12&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>