From 749451fcacff04e0d2acd3cf199c0cd534fdb254 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 16 Feb 2025 17:45:27 +0100 Subject: [PATCH] update --- .../hardware/install-coral-tpu-host/page.tsx | 72 +++++++++++++++- web/app/docs/network/repair-network/page.tsx | 86 ++++++++++++++++--- .../docs/storage/disk-passthrough-vm/page.tsx | 82 +++++++++++++++++- .../storage/import-disk-image-vm/page.tsx | 84 +++++++++++++++++- 4 files changed, 300 insertions(+), 24 deletions(-) diff --git a/web/app/docs/hardware/install-coral-tpu-host/page.tsx b/web/app/docs/hardware/install-coral-tpu-host/page.tsx index fcf563c..ddbfcaa 100644 --- a/web/app/docs/hardware/install-coral-tpu-host/page.tsx +++ b/web/app/docs/hardware/install-coral-tpu-host/page.tsx @@ -1,18 +1,84 @@ import type { Metadata } from "next" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { title: "Install Coral TPU on the Host | ProxMenux Documentation", - description: "Learn how to install a Coral TPU on the Proxmox VE host using ProxMenux.", + description: "Learn how to install Coral TPU drivers on your Proxmox VE host.", } export default function InstallCoralTPUHost() { return (

Install Coral TPU on the Host

+

- This guide will walk you through the process of installing a Coral TPU on your Proxmox VE host using ProxMenux. + This script automates the installation of Google Coral TPU (Tensor Processing Unit) drivers on your Proxmox VE + host. It ensures that all necessary packages are installed and compiles the Coral TPU drivers for proper + functionality. +

+ +

What Does This Script Do?

+

When executed, this script performs the following actions:

+
    +
  1. Prompts for confirmation before proceeding with the installation
  2. +
  3. Verifies and configures necessary repositories on the host
  4. +
  5. Installs required packages for driver compilation
  6. +
  7. Clones the Coral TPU driver repository
  8. +
  9. Builds and installs the Coral TPU drivers
  10. +
  11. Prompts for a system restart to apply changes
  12. +
+ +

Key Steps

+ + +

The script asks for confirmation before proceeding, warning that a system restart will be required.

+
+ +

Verifies and adds necessary repositories:

+
    +
  • Adds the pve-no-subscription repository if not present
  • +
  • Adds non-free-firmware repositories to the sources list
  • +
  • Updates the package lists
  • +
+
+ +

Installs Coral TPU drivers:

+
    +
  • Installs necessary packages (git, devscripts, dh-dkms, etc.)
  • +
  • Clones the gasket-driver repository
  • +
  • Builds the driver packages
  • +
  • Installs the compiled driver packages
  • +
+
+ +

Prompts the user to restart the server to apply the changes.

+
+
+ +

What to Expect

+ + +

Important Notes

+ + +

+ This script simplifies the process of installing Coral TPU drivers on your Proxmox VE host, enabling you to use + Coral TPU devices for AI and machine learning tasks. After installation and restart, you can proceed to + configure individual LXC containers or VMs to use the Coral TPU.

- {/* Add more content here */}
) } diff --git a/web/app/docs/network/repair-network/page.tsx b/web/app/docs/network/repair-network/page.tsx index 85fe5cc..6aa5937 100644 --- a/web/app/docs/network/repair-network/page.tsx +++ b/web/app/docs/network/repair-network/page.tsx @@ -1,30 +1,90 @@ import type { Metadata } from "next" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { title: "Repair Network | ProxMenux Documentation", - description: "Learn how to repair network issues in Proxmox VE using ProxMenux.", + description: "Learn how to repair and verify network configurations in Proxmox VE using ProxMenux.", } export default function RepairNetwork() { return (

Repair Network

+

- This guide will walk you through the process of repairing network issues in Proxmox VE using ProxMenux. + This script provides comprehensive network repair and verification functionality for Proxmox VE systems. It + helps users troubleshoot and fix common network issues, ensuring stable connectivity and proper configuration.

-

Common Network Issues

-
) } diff --git a/web/app/docs/storage/disk-passthrough-vm/page.tsx b/web/app/docs/storage/disk-passthrough-vm/page.tsx index 1c02f58..be32e40 100644 --- a/web/app/docs/storage/disk-passthrough-vm/page.tsx +++ b/web/app/docs/storage/disk-passthrough-vm/page.tsx @@ -1,19 +1,93 @@ import type { Metadata } from "next" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { title: "Disk Passthrough to a VM | ProxMenux Documentation", - description: "Learn how to set up disk passthrough to a virtual machine in Proxmox VE using ProxMenux.", + description: "Learn how to set up disk passthrough to a virtual machine in Proxmox VE.", } export default function DiskPassthroughVM() { return (

Disk Passthrough to a VM

+

- This guide will walk you through the process of setting up disk passthrough to a virtual machine in Proxmox VE - using ProxMenux. + This script automates the process of setting up disk passthrough to a virtual machine (VM) in Proxmox VE. Disk + passthrough allows a VM to have direct access to a physical disk or partition, which can be useful for certain + applications that require low-level disk access or for maximizing storage performance. +

+ +

What Does This Script Do?

+

When executed, this script performs the following actions:

+
    +
  1. Lists available disks on the Proxmox host
  2. +
  3. Allows you to select a disk for passthrough
  4. +
  5. Lists available VMs
  6. +
  7. Allows you to select a VM to receive the disk passthrough
  8. +
  9. Configures the selected disk for passthrough
  10. +
  11. Adds the disk to the chosen VM's configuration
  12. +
+ +

Key Steps

+ + +

+ The script will display a list of available disks on your Proxmox host. You'll be prompted to select the + disk you want to pass through to a VM. +

+
+ +

+ After selecting a disk, you'll be presented with a list of available VMs. Choose the VM that should receive + the passed-through disk. +

+
+ +

The script will configure the selected disk for passthrough. This involves:

+
    +
  • Unmounting the disk if it's currently mounted
  • +
  • Removing any existing partitions or logical volumes
  • +
  • Clearing the partition table
  • +
+
+ +

The script will modify the chosen VM's configuration to include the passed-through disk. This includes:

+
    +
  • Adding the disk to the VM's configuration file
  • +
  • Setting up the appropriate SCSI controller if necessary
  • +
+
+
+ +

What to Expect

+ + +

Important Notes

+ + +

+ This script simplifies the process of setting up disk passthrough in Proxmox VE, allowing you to easily assign + physical disks to specific VMs. This can be particularly useful for applications that require direct disk access + or for maximizing storage performance in certain scenarios.

- {/* Add more content here */}
) } diff --git a/web/app/docs/storage/import-disk-image-vm/page.tsx b/web/app/docs/storage/import-disk-image-vm/page.tsx index b90ab2a..18cf26a 100644 --- a/web/app/docs/storage/import-disk-image-vm/page.tsx +++ b/web/app/docs/storage/import-disk-image-vm/page.tsx @@ -1,19 +1,95 @@ import type { Metadata } from "next" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { title: "Import Disk Image to a VM | ProxMenux Documentation", - description: "Learn how to import a disk image to a virtual machine in Proxmox VE using ProxMenux.", + description: "Learn how to import a disk image to a virtual machine in Proxmox VE.", } export default function ImportDiskImageVM() { return (

Import Disk Image to a VM

+

- This guide will walk you through the process of importing a disk image to a virtual machine in Proxmox VE using - ProxMenux. + This script automates the process of importing disk images into Proxmox VE virtual machines (VMs). It simplifies + the task of attaching pre-existing disk files to VMs without requiring manual configuration. +

+ +

What Does This Script Do?

+

When executed, this script performs the following actions:

+
    +
  1. Scans for compatible disk images (.img, .qcow2, .vmdk) in the /var/lib/vz/template/images/ directory
  2. +
  3. Presents a list of available VMs for selection
  4. +
  5. Allows you to choose one or multiple disk images for import
  6. +
  7. Lets you select a storage volume in Proxmox for disk placement
  8. +
  9. Offers options for interface type (SATA, SCSI, VirtIO, IDE) for each imported disk
  10. +
  11. Provides optional settings like SSD emulation and bootable disk configuration
  12. +
  13. Imports the selected disk images and attaches them to the chosen VM
  14. +
+ +

Key Steps

+ + +

+ Ensure that the disk images you want to import are placed in the /var/lib/vz/template/images/ directory. +

+
+ +

Choose the VM where you want to import the disk image(s) from a list of available VMs.

+
+ +

Select the Proxmox storage volume where the imported disk(s) will be placed.

+
+ +

+ Choose one or more disk images to import from the list of compatible images found in the specified + directory. +

+
+ +

For each selected image:

+
    +
  • Choose the interface type (SATA, SCSI, VirtIO, or IDE)
  • +
  • Optionally enable SSD emulation (for non-VirtIO interfaces)
  • +
  • Decide whether to make the disk bootable
  • +
+
+ +

The script will import each selected disk image, showing real-time progress updates.

+
+ +

After import, the script configures the disks in the VM and applies the chosen settings.

+
+
+ +

What to Expect

+ + +

Important Notes

+ + +

+ This script simplifies the process of importing disk images to VMs in Proxmox VE, making it easy to add + pre-existing disks or migrate disks from other environments. It handles the technical details of import and + configuration, allowing you to quickly add new storage to your VMs.

- {/* Add more content here */}
) }