<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Debian on Mike Bell - Blog &amp; Stuff</title><link>https://mikebell.io/tags/debian/</link><description>Recent content in Debian on Mike Bell - Blog &amp; Stuff</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>hello@mikebell.io (Mike Bell)</managingEditor><webMaster>hello@mikebell.io (Mike Bell)</webMaster><copyright>© 2026 Mike Bell</copyright><lastBuildDate>Sun, 29 Jun 2025 20:25:00 +0000</lastBuildDate><atom:link href="https://mikebell.io/tags/debian/index.xml" rel="self" type="application/rss+xml"/><item><title>Homelab Update June 2025</title><link>https://mikebell.io/posts/homelab-update-june-2025/</link><pubDate>Sun, 29 Jun 2025 20:25:00 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/homelab-update-june-2025/</guid><description>
&lt;h2 class="relative group">Bye bye Ubuntu Server 20.04
&lt;div id="bye-bye-ubuntu-server-2004" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#bye-bye-ubuntu-server-2004" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>I moved all my apps from Ubuntu Server to Debian 12 after testing it out for a few months. It&amp;rsquo;s faster and uses less resources. There&amp;rsquo;s also no snap which is great! Migration went fine it was tedious but gave me an opportunity to clean up some tech debt I&amp;rsquo;d made when I first set the vm up. Running &lt;code>sudo shutdown -P now&lt;/code> was very satisfying. I still have a backup of the vm if I need to restore though.&lt;/p>
&lt;h2 class="relative group">Migrated ingresses to Traefik in LXC
&lt;div id="migrated-ingresses-to-traefik-in-lxc" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#migrated-ingresses-to-traefik-in-lxc" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>For a while I was running 3 different Traefik setups:&lt;/p>
&lt;ol>
&lt;li>primary docker vm on Ubuntu&lt;/li>
&lt;li>secondary docker vm (now primary) on Debain&lt;/li>
&lt;li>lxc in proxmox&lt;/li>
&lt;/ol>
&lt;p>Once I moved everything to file provider in lxc I could start moving everything off the old server and turn off the old ingresses. It also allowed me to setup a wildcard cert for my homelab instead of having traefik provision a new one every time I bring up a new service.&lt;/p>
&lt;p>Another advantage of having traefik in lxc is that I&amp;rsquo;ve configure it in Proxmox to boot first after reboot. So I should always be able to access friendly urls as soon as possible.&lt;/p>
&lt;h2 class="relative group">NAS Cleanup
&lt;div id="nas-cleanup" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#nas-cleanup" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>Another chore was cleaning out some old config on my NAS, I want to try and cut down the raw read/writes. It also means it can go into power saving mode more often (hopefully).&lt;/p>
&lt;blockquote>
&lt;p>Update power saving is working, I can tell because it sounds like a sound effect from a science fiction movie every time it spins up!&lt;/p>&lt;/blockquote>
&lt;h2 class="relative group">Next steps
&lt;div id="next-steps" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#next-steps" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>I&amp;rsquo;m looking at more hardware now, I want a physical k8s setup running Talos. I&amp;rsquo;m looking at a few different options including the TurinPi and Sipeed Nanocluster but the cost of compute modules is just insane for the performance they give. If anyone has any suggestions then send them my way!&lt;/p>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item><item><title>Quick and Easy Drush Debian Packaging</title><link>https://mikebell.io/posts/quick-and-easy-drush-debian-packaging/</link><pubDate>Thu, 24 Apr 2014 00:00:00 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/quick-and-easy-drush-debian-packaging/</guid><description>
&lt;p>I found a really nice way of packaging up drush as a debian package without having to go through all the hassle of creating all the files for a “true” debian package.&lt;/p>
&lt;p>You’ll need the following:&lt;/p>
&lt;ul>
&lt;li>Git&lt;/li>
&lt;li>Composer&lt;/li>
&lt;li>FPM gem&lt;/li>
&lt;/ul>
&lt;p>You can then run the following commands to setup your base environment for packaging:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">git clone git@github.com:drush-ops/drush.git
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> drush
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">composer install
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">sudo gem install fpm
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>To test to make sure your latest master copy of drush is working quickly run either &lt;code>drush&lt;/code> or &lt;code>drush —version&lt;/code>&lt;/p>
&lt;p>Now you are ready to package the contents up:&lt;/p>
&lt;p>&lt;code>fpm -s dir -t deb -n drush -v master ./drush=/usr/bin&lt;/code>&lt;/p>
&lt;p>What this does is tell fpm you want to create a deb file from a directory with a version name of master (corresponding to the branch we checked out in git), it also configures the output directory.&lt;/p>
&lt;p>Once that’s run you should see the newly created package appear. To verify it’s contents run &lt;code>dkpg -c drush_master_amd64.deb&lt;/code>&lt;/p>
&lt;p>Throw in a parameterised job in jenkins and you have a nice way of creating version specific debian packages for deployment.&lt;/p>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item></channel></rss>