<?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>Kasm on Nobody&#39;s Home</title>
    <link>https://new.cloud.nobodyhome.dev/tags/kasm/</link>
    <description>Recent content in Kasm on Nobody&#39;s Home</description>
    <generator>Hugo -- 0.154.5</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 31 Aug 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://new.cloud.nobodyhome.dev/tags/kasm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Kasm Workspaces</title>
      <link>https://new.cloud.nobodyhome.dev/posts/kasm-workspace/</link>
      <pubDate>Sun, 31 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://new.cloud.nobodyhome.dev/posts/kasm-workspace/</guid>
      <description>&lt;h4 id=&#34;references&#34;&gt;References&lt;/h4&gt;
&lt;p&gt;&lt;a href=&#34;https://kasmweb.com/docs/latest/install/single_server_install.html&#34;&gt;Kasm Documentation&lt;/a&gt;
&lt;a href=&#34;https://kasmweb.com/docs/latest/install/system_requirements.html&#34;&gt;Kasm System Requirements&lt;/a&gt;
&lt;a href=&#34;https://kasmweb.com/docs/latest/how_to/gpu.html&#34;&gt;Kasm GPU Install&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://new.cloud.nobodyhome.dev/posts/install-docker/&#34;&gt;Install Docker Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Swap Space&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;installation&#34;&gt;Installation&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;NOTE: check for the latest version&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd /tmp
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.18.1.tar.gz
tar -xf kasm_release_1.18.1.tar.gz
sudo bash kasm_release/install.sh --accept-eula --swap-size 8192
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;gpu-setup&#34;&gt;GPU Setup&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;The Nvidia container setup instructions, and standard GPU driver installation threw an error: &lt;code&gt;nvidia runtime not found&lt;/code&gt;. The script on Kasm&amp;rsquo;s site worked.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#!/bin/bash

# Check for NVIDIA cards
if ! lspci | grep -i nvidia &amp;gt; /dev/null; then
    echo &amp;#34;No NVIDIA GPU detected&amp;#34;
    exit 0
fi

add-apt-repository -y ppa:graphics-drivers/ppa

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  &amp;amp;&amp;amp; curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
    sed &amp;#39;s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g&amp;#39; | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

apt update
apt install -y ubuntu-drivers-common

# Run ubuntu-drivers and capture the output
DRIVER_OUTPUT=$(ubuntu-drivers list 2&amp;gt;/dev/null)
# Extract server driver versions using grep and regex
# Pattern looks for nvidia-driver-XXX-server
SERVER_VERSIONS=$(echo &amp;#34;$DRIVER_OUTPUT&amp;#34; | grep -o &amp;#39;nvidia-driver-[0-9]\+-server&amp;#39; | grep -o &amp;#39;[0-9]\+&amp;#39; | sort -n)
# Check if any server versions were found
if [ -z &amp;#34;$SERVER_VERSIONS&amp;#34; ]; then
    echo &amp;#34;Error: No NVIDIA server driver versions found.&amp;#34; &amp;gt;&amp;amp;2
    exit 1
fi
# Find the highest version number
LATEST_VERSION=$(echo &amp;#34;$SERVER_VERSIONS&amp;#34; | tail -n 1)
# Validate that the version is numeric
if ! [[ &amp;#34;$LATEST_VERSION&amp;#34; =~ ^[0-9]+$ ]]; then
    echo &amp;#34;Error: Invalid version number: $LATEST_VERSION&amp;#34; &amp;gt;&amp;amp;2
    exit 2
fi
# Output only the version number
echo &amp;#34;Latest version is: $LATEST_VERSION&amp;#34;
ubuntu-drivers install &amp;#34;nvidia:$LATEST_VERSION-server&amp;#34;
apt install -y &amp;#34;nvidia-utils-$LATEST_VERSION-server&amp;#34;
# Install NVIDIA toolkit + configure for docker
apt-get install -y nvidia-container-toolkit
nvidia-ctk runtime configure --runtime=docker
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;egress-setup-nordvpn&#34;&gt;Egress Setup: NordVPN&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Get service credentials for the VPN: &lt;a href=&#34;https://my.nordaccount.com/dashboard/nordvpn/manual-configuration/service-credentials/&#34;&gt;Available on the VPN dashboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download desired OpenVPN configuration files: &lt;a href=&#34;https://my.nordaccount.com/dashboard/nordvpn/manual-configuration/service-credentials/&#34;&gt;Available on the VPN dashboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;On Kasm Administrator dashboard, select Egress (Infrastructure &amp;gt; Egress)
&lt;ul&gt;
&lt;li&gt;Add the egress provider:
&lt;img alt=&#34;egress&#34; loading=&#34;lazy&#34; src=&#34;https://new.cloud.nobodyhome.dev/assets/kasm/egress_provider.png&#34;&gt;&lt;/li&gt;
&lt;li&gt;Configure VPN type:
&lt;img alt=&#34;provider&#34; loading=&#34;lazy&#34; src=&#34;https://new.cloud.nobodyhome.dev/assets/kasm/add_provider.png&#34;&gt;&lt;/li&gt;
&lt;li&gt;Add egress gateways:
&lt;img alt=&#34;add route&#34; loading=&#34;lazy&#34; src=&#34;https://new.cloud.nobodyhome.dev/assets/kasm/add_egress.png&#34;&gt;
&lt;img alt=&#34;add egress&#34; loading=&#34;lazy&#34; src=&#34;https://new.cloud.nobodyhome.dev/assets/kasm/egress_setup.png&#34;&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;On the Workspaces &amp;gt; Workspace page, select the workspace to allow it to use the VPN, click &lt;code&gt;edit&lt;/code&gt; and add the egress provider on the &lt;code&gt;Egress&lt;/code&gt; tab.&lt;/li&gt;
&lt;li&gt;On the &lt;code&gt;Egress Credentials&lt;/code&gt; tab, add in the service credentials for the VPN&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
