79 lines
4.3 KiB
TypeScript
Raw Normal View History

2025-02-16 17:45:27 +01:00
import { Steps } from "@/components/ui/steps"
2025-03-04 18:14:07 +01:00
import CopyableCode from "@/components/CopyableCode"
2025-02-16 16:49:04 +01:00
2025-03-04 18:14:07 +01:00
export const metadata = {
2025-02-16 16:49:04 +01:00
title: "Install Coral TPU on the Host | ProxMenux Documentation",
2025-03-04 18:14:07 +01:00
description: "Step-by-step guide to install Google Coral TPU drivers on a Proxmox VE host using ProxMenux.",
2025-02-16 16:49:04 +01:00
}
export default function InstallCoralTPUHost() {
return (
<div className="max-w-3xl mx-auto">
<h1 className="text-3xl font-bold mb-6">Install Coral TPU on the Host</h1>
2025-03-04 18:14:07 +01:00
2025-03-04 18:17:46 +01:00
<p className="mb-4"><strong>Before using Coral TPU inside an LXC container, the drivers must first be installed on the Proxmox VE host. This script automates that process, ensuring the necessary setup is completed.</strong><br/><br/>
2025-03-04 18:14:07 +01:00
This guide explains how to install and configure Google Coral TPU drivers on a Proxmox VE host using <strong>ProxMenux</strong>.
This setup enables hardware acceleration for AI-based applications that leverage Coral TPU.
2025-02-16 17:45:27 +01:00
</p>
2025-03-04 18:14:07 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Overview</h2>
<p className="mb-4">The script automates the following steps:</p>
2025-02-16 17:45:27 +01:00
<ol className="list-decimal pl-6 space-y-2 mb-6">
2025-03-04 18:14:07 +01:00
<li>Prompts for confirmation before proceeding with installation.</li>
<li>Verifies and configures necessary repositories on the host.</li>
<li>Installs required dependencies for driver compilation.</li>
<li>Clones the Coral TPU driver repository and builds the drivers.</li>
<li>Installs the compiled Coral TPU drivers.</li>
<li>Prompts for a system restart to apply changes.</li>
2025-02-16 17:45:27 +01:00
</ol>
2025-03-04 18:14:07 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Implementation Steps</h2>
2025-02-16 17:45:27 +01:00
<Steps>
2025-03-04 18:14:07 +01:00
<Steps.Step title="Pre-Installation Confirmation">
<p>The script prompts the user for confirmation before proceeding, as a system restart is required after installation.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
<Steps.Step title="Repository Configuration">
2025-03-04 18:14:07 +01:00
<p>The script verifies and configures required repositories:</p>
2025-02-16 17:45:27 +01:00
<ul className="list-disc pl-6 space-y-1 mt-2">
2025-03-04 18:14:07 +01:00
<li>Adds the <strong>pve-no-subscription</strong> repository if not present.</li>
<li>Adds <strong>non-free-firmware</strong> repositories for required packages.</li>
<li>Runs an update to fetch the latest package lists.</li>
2025-02-16 17:45:27 +01:00
</ul>
</Steps.Step>
<Steps.Step title="Driver Installation">
2025-03-04 18:14:07 +01:00
<p>The script installs and compiles the required drivers:</p>
2025-02-16 17:45:27 +01:00
<ul className="list-disc pl-6 space-y-1 mt-2">
2025-03-04 18:14:07 +01:00
<li>Installs dependencies such as <strong>git, dkms, devscripts</strong>, and kernel headers.</li>
<li>Clones the <strong>gasket-driver</strong> repository from Google.</li>
<li>Builds the Coral TPU driver packages.</li>
<li>Installs the compiled drivers on the host.</li>
2025-02-16 17:45:27 +01:00
</ul>
</Steps.Step>
2025-03-04 18:14:07 +01:00
<Steps.Step title="Post-Installation Confirmation">
<p>The script prompts the user to restart the server to apply the changes.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
</Steps>
2025-03-04 18:14:07 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Expected Results</h2>
2025-02-16 17:45:27 +01:00
<ul className="list-disc pl-6 space-y-2 mb-6">
2025-03-04 18:14:07 +01:00
<li>The Coral TPU drivers are installed successfully on the Proxmox VE host.</li>
<li>Required repositories and dependencies are configured properly.</li>
<li>A system restart is performed to complete the installation.</li>
<li>After the restart, the host is ready to utilize Coral TPU for AI workloads.</li>
2025-02-16 17:45:27 +01:00
</ul>
2025-03-04 18:14:07 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Important Considerations</h2>
2025-02-16 17:45:27 +01:00
<ul className="list-disc pl-6 space-y-2 mb-6">
2025-03-04 18:14:07 +01:00
<li>A stable internet connection is required to fetch repositories and dependencies.</li>
<li>This script modifies system repositories and installs new packages.</li>
<li>Root or sudo privileges are required to execute the script.</li>
<li>It's recommended to create a system backup before running the script.</li>
2025-02-16 17:45:27 +01:00
</ul>
2025-03-04 18:14:07 +01:00
2025-02-16 17:45:27 +01:00
<p className="mt-6 italic">
2025-03-04 18:14:07 +01:00
By using ProxMenux, Coral TPU drivers can be installed on a Proxmox VE host efficiently, avoiding manual setup and potential configuration issues.
2025-02-16 16:49:04 +01:00
</p>
</div>
)
}