<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Commands on djismgaming's tech home</title><link>https://djismgaming.github.io/tags/commands/</link><description>Recent content in Commands on djismgaming's tech home</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Ismael Lamberty</copyright><lastBuildDate>Thu, 12 Nov 2026 16:28:54 -0400</lastBuildDate><atom:link href="https://djismgaming.github.io/tags/commands/index.xml" rel="self" type="application/rss+xml"/><item><title>Clear Nextcloud Turnkey VM logs</title><link>https://djismgaming.github.io/blog/clear-nextcloud-turnkey-vm-logs/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/clear-nextcloud-turnkey-vm-logs/</guid><description>&lt;h1 class="relative group"&gt;Clear Nextcloud Turnkey VM logs&#10; &lt;div id="clear-nextcloud-turnkey-vm-logs" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#clear-nextcloud-turnkey-vm-logs" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&amp;#34;&lt;/span&gt; &amp;gt; /var/www/nextcloud-data/nextcloud.log&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Create a logon task in task scheduler to a specific directory</title><link>https://djismgaming.github.io/blog/create-a-logon-task-in-task-scheduler-to-a-specific-directory/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/create-a-logon-task-in-task-scheduler-to-a-specific-directory/</guid><description>&lt;h1 class="relative group"&gt;Create a logon task in task scheduler to a specific directory&#10; &lt;div id="create-a-logon-task-in-task-scheduler-to-a-specific-directory" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#create-a-logon-task-in-task-scheduler-to-a-specific-directory" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-pwsh" data-lang="pwsh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;schtasks&lt;/span&gt; &lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="n"&gt;create&lt;/span&gt; &lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="nb"&gt;sc &lt;/span&gt;&lt;span class="n"&gt;onlogon&lt;/span&gt; &lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tn&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;user\Steam&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rl&lt;/span&gt; &lt;span class="n"&gt;highest&lt;/span&gt; &lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tr&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;&amp;#34;C:\Program Files (x86)\Steam\steam.exe&amp;#34; -silent&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Extend the root volume in TurnKey Linux Nextcloud appliance VM</title><link>https://djismgaming.github.io/blog/extend-volume-in-turnkey-linux-nextcloud-appliance-vm/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/extend-volume-in-turnkey-linux-nextcloud-appliance-vm/</guid><description>&lt;h1 class="relative group"&gt;Extend the root volume in TurnKey Linux Nextcloud appliance VM&#10; &lt;div id="extend-the-root-volume-in-turnkey-linux-nextcloud-appliance-vm" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#extend-the-root-volume-in-turnkey-linux-nextcloud-appliance-vm" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;After adding an additional drive to the VM in Proxmox:&lt;/p&gt;&#10;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Change &lt;code&gt;/dev/sdb&lt;/code&gt; on this post with the path to the disk you just added to the VM&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>yt-dlp command to record in a different file each time</title><link>https://djismgaming.github.io/blog/yt-dlp-command-to-record-in-a-different-file-each-time-copy/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/yt-dlp-command-to-record-in-a-different-file-each-time-copy/</guid><description>&lt;h1 class="relative group"&gt;yt-dlp command to record in a different file each time&#10; &lt;div id="yt-dlp-command-to-record-in-a-different-file-each-time" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#yt-dlp-command-to-record-in-a-different-file-each-time" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yt-dlp -o &lt;span class="s2"&gt;&amp;#34;%(epoch)s.%(ext)s&amp;#34;&lt;/span&gt; --no-part --hls-use-mpegts&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>yt-dlp command to transcode video to h264 after download</title><link>https://djismgaming.github.io/blog/yt-dlp-command-to-transcode-video-to-h264-after-download/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/yt-dlp-command-to-transcode-video-to-h264-after-download/</guid><description>&lt;h1 class="relative group"&gt;yt-dlp command to transcode video to h264 after download&#10; &lt;div id="yt-dlp-command-to-transcode-video-to-h264-after-download" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#yt-dlp-command-to-transcode-video-to-h264-after-download" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yt-dlp --recode-video mp4 --force-write-archive https://www.youtube.com/watch?v&lt;span class="o"&gt;=&lt;/span&gt;dQw4w9WgXcQ&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;Here&amp;rsquo;s a breakdown:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;--recode-video mp4&lt;/code&gt;: This option tells &lt;code&gt;yt-dlp&lt;/code&gt; to transcode the video into an MP4 container.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;&amp;lt;video_url&amp;gt;&lt;/code&gt;: Replace this with the URL of the video.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;--force-write-archive&lt;/code&gt;: This option forces &lt;code&gt;yt-dlp&lt;/code&gt; to re-encode the video.&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Add storage to a Turnkey VM like Nextcloud</title><link>https://djismgaming.github.io/blog/add-storage-to-turnkey-vm-nextcloud/</link><pubDate>Wed, 30 Apr 2025 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/add-storage-to-turnkey-vm-nextcloud/</guid><description>&lt;h1 class="relative group"&gt;Add storage to a Turnkey VM like Nextcloud&#10; &lt;div id="add-storage-to-a-turnkey-vm-like-nextcloud" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#add-storage-to-a-turnkey-vm-like-nextcloud" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;Managing LVM on Proxmox&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Add additional disk to Turnkey VM in Proxmox&lt;/li&gt;&#10;&lt;li&gt;find &lt;code&gt;/dev/sd*&lt;/code&gt; for the new disk inside the VM&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pvcreate /dev/sd*&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;vgextend turnkey /dev/sd*&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;vgdisplay&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lvextend -l+100%free /dev/turnkey/root&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;resize2fs /dev/turnkey/root&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Store remote credentials for a local repository</title><link>https://djismgaming.github.io/blog/store-credentials-git/</link><pubDate>Mon, 29 Jan 2024 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/store-credentials-git/</guid><description>&lt;h1 class="relative group"&gt;Store remote credentials for a local repository&#10; &lt;div id="store-remote-credentials-for-a-local-repository" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#store-remote-credentials-for-a-local-repository" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;This will store the credentials in plaintext for this repository. This is not secure.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Grow the boot volume of an oracle VM Ubuntu instance</title><link>https://djismgaming.github.io/blog/grow-boot-volume-oracle-instance/</link><pubDate>Wed, 10 Jan 2024 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/grow-boot-volume-oracle-instance/</guid><description>&lt;h1 class="relative group"&gt;Grow the boot volume of an oracle VM Ubuntu instance&#10; &lt;div id="grow-the-boot-volume-of-an-oracle-vm-ubuntu-instance" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#grow-the-boot-volume-of-an-oracle-vm-ubuntu-instance" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;Backup current partition table&lt;/p&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfdisk -d /dev/sdb &amp;gt; sdb_partition_bak.dmp&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;Execute a dry-run to see the changes that will apply. Install with &lt;code&gt;apt-get install cloud-utils&lt;/code&gt; if you don&amp;rsquo;t have it already.&lt;/p&gt;</description></item><item><title>Delete the local-lvm directory from proxmox and resize the local to get the complete disk space</title><link>https://djismgaming.github.io/blog/delete-local-lvm-proxmox/</link><pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/delete-local-lvm-proxmox/</guid><description>&lt;h1 class="relative group"&gt;Delete the local-lvm directory from proxmox and resize the local to get the complete disk space&#10; &lt;div id="delete-the-local-lvm-directory-from-proxmox-and-resize-the-local-to-get-the-complete-disk-space" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#delete-the-local-lvm-directory-from-proxmox-and-resize-the-local-to-get-the-complete-disk-space" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;You&amp;rsquo;ll need to move all disks, isos, etc. from the &lt;code&gt;local-lvm&lt;/code&gt; storage to the &lt;code&gt;local&lt;/code&gt; storage before performing these steps.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>add container to additional network on unRAID</title><link>https://djismgaming.github.io/blog/add-container-to-additional-network-on-unraid/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/add-container-to-additional-network-on-unraid/</guid><description>&lt;h1 class="relative group"&gt;add container to additional network on unRAID&#10; &lt;div id="add-container-to-additional-network-on-unraid" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#add-container-to-additional-network-on-unraid" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;The custom docker network needs to be created first with &lt;code&gt;docker network create &amp;lt;networkname&amp;gt;&lt;/code&gt; and unRAID docker options set to &amp;ldquo;Preserve user defined networks&amp;rdquo; as enabled.&lt;/p&gt;</description></item><item><title>add directory to PATH environment variable</title><link>https://djismgaming.github.io/blog/add-directory-to-path-environment-variable/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/add-directory-to-path-environment-variable/</guid><description>&lt;h1 class="relative group"&gt;add directory to PATH environment variable&#10; &lt;div id="add-directory-to-path-environment-variable" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#add-directory-to-path-environment-variable" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;export PATH=&amp;#34;$HOME/.local/bin:$PATH&amp;#34;&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; .bashrc&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Caching on nginx</title><link>https://djismgaming.github.io/blog/caching-on-nginx/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/caching-on-nginx/</guid><description>&lt;h1 class="relative group"&gt;Caching on nginx&#10; &lt;div id="caching-on-nginx" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#caching-on-nginx" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;Caching config (&lt;a href="https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/" target="_blank" rel="noreferrer"&gt;https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;This part goes into nginx.conf:&lt;/p&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;proxy_cache_path /config/nginx/cache levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;This part goes in the location of the proxy-confs to cache:&lt;/p&gt;</description></item><item><title>create sudo user with access to docker in ubuntu lxc container</title><link>https://djismgaming.github.io/blog/create-sudo-user-in-ubuntu-lxc-container/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/create-sudo-user-in-ubuntu-lxc-container/</guid><description>&lt;h1 class="relative group"&gt;create sudo user with access to docker in ubuntu lxc container&#10; &lt;div id="create-sudo-user-with-access-to-docker-in-ubuntu-lxc-container" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#create-sudo-user-with-access-to-docker-in-ubuntu-lxc-container" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;useradd -s /bin/bash -m -G sudo,docker username&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;or alternatively&lt;/p&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;adduser username&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;adduser username sudo&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;adduser username docker&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>linux mitigation disable (debian)</title><link>https://djismgaming.github.io/blog/linux-mitigation-disable-security-considerations-debian/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/linux-mitigation-disable-security-considerations-debian/</guid><description>&lt;h1 class="relative group"&gt;linux mitigation disable (debian)&#10; &lt;div id="linux-mitigation-disable-debian" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#linux-mitigation-disable-debian" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;Adds &lt;code&gt;mitigations=off&lt;/code&gt; to the kernel command line, which disables &lt;strong&gt;all&lt;/strong&gt; optional CPU&#10;mitigations (Spectre, Meltdown, and the other grouped fixes). Do this only on machines that&#10;never run code you don&amp;rsquo;t control — on a daily driver or shared system, leave them on.&lt;/p&gt;</description></item><item><title>no sudo password prompt for current user</title><link>https://djismgaming.github.io/blog/no-sudo-password-prompt-for-current-user/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/no-sudo-password-prompt-for-current-user/</guid><description>&lt;h1 class="relative group"&gt;no sudo password prompt for current user&#10; &lt;div id="no-sudo-password-prompt-for-current-user" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#no-sudo-password-prompt-for-current-user" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;p&gt;This will make it possible for the current user (the user executing the command will be added to it via the environment variable $USER in the command) to execute all sudo commands without a prompt for password.&lt;/p&gt;</description></item><item><title>pi-hole one line install</title><link>https://djismgaming.github.io/blog/pi-hole-one-line-install/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/pi-hole-one-line-install/</guid><description>&lt;h1 class="relative group"&gt;pi-hole one line install&#10; &lt;div id="pi-hole-one-line-install" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#pi-hole-one-line-install" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -sSL https://install.pi-hole.net &lt;span class="p"&gt;|&lt;/span&gt; bash&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>specifying a static container IP on the same subnet of an UNRAID host</title><link>https://djismgaming.github.io/blog/specifying-a-static-container-ip-on-the-same-subnet-of-an-unraid-host/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/specifying-a-static-container-ip-on-the-same-subnet-of-an-unraid-host/</guid><description>&lt;h1 class="relative group"&gt;specifying a static container IP on the same subnet of an UNRAID host&#10; &lt;div id="specifying-a-static-container-ip-on-the-same-subnet-of-an-unraid-host" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#specifying-a-static-container-ip-on-the-same-subnet-of-an-unraid-host" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;// version: &amp;#39;3.3&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;testcontainer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;container_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;testcontainer&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;TZ=America/Puerto_Rico&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;HOST_OS=Unraid&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;HOST_CONTAINERNAME=testcontainer&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;PUID=99&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;PGID=100&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;UMASK=022&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="s1"&gt;&amp;#39;/mnt/user/appdata/nginx:/config:rw&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;lscr.io/linuxserver/nginx&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;networks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;dockernat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;ipv4_address&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;192.168.0.250&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;networks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;dockernat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;external&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;br0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>stop gdm3 in ubuntu desktop install</title><link>https://djismgaming.github.io/blog/stop-gdm3-in-ubuntu-desktop-install/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/stop-gdm3-in-ubuntu-desktop-install/</guid><description>&lt;h1 class="relative group"&gt;stop gdm3 in ubuntu desktop install&#10; &lt;div id="stop-gdm3-in-ubuntu-desktop-install" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#stop-gdm3-in-ubuntu-desktop-install" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo service gdm3 stop&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>ubuntu kernel upgrade</title><link>https://djismgaming.github.io/blog/ubuntu-kernel-upgrade/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://djismgaming.github.io/blog/ubuntu-kernel-upgrade/</guid><description>&lt;h1 class="relative group"&gt;ubuntu kernel upgrade&#10; &lt;div id="ubuntu-kernel-upgrade" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#ubuntu-kernel-upgrade" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&#10;&lt;h3 class="relative group"&gt;Install&#10; &lt;div id="install" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#install" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install wget&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chmod +x ubuntu-mainline-kernel.sh&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mv ubuntu-mainline-kernel.sh /usr/local/bin/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;If you want to automatically check for a new kernel version when you login:&lt;/p&gt;</description></item></channel></rss>