This commit is contained in:
MacRimi 2025-03-01 21:16:07 +01:00
parent b3c3e4d8e2
commit 513ac26e71
4 changed files with 88 additions and 80 deletions

View File

@ -1,6 +1,7 @@
import type { Metadata } from "next" import type { Metadata } from "next"
import { Settings } from "lucide-react" import { Settings } from 'lucide-react'
import CopyableCode from "@/components/CopyableCode" import CopyableCode from "@/components/CopyableCode"
import { Steps } from "@/components/ui/steps"
export const metadata: Metadata = { export const metadata: Metadata = {
title: "ProxMenux Post-Install: Basic Settings", title: "ProxMenux Post-Install: Basic Settings",
@ -30,7 +31,6 @@ export const metadata: Metadata = {
}, },
} }
export default function BasicSettingsPage() { export default function BasicSettingsPage() {
const installUtilitiesCode = ` const installUtilitiesCode = `
# Update package lists # Update package lists
@ -100,84 +100,96 @@ sudo apt-get install -y zfsutils-linux proxmox-backup-restore-image chrony
<h1 className="text-3xl font-bold">Basic Settings</h1> <h1 className="text-3xl font-bold">Basic Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The Basic Settings category in the customizable_post_install.sh script covers fundamental configurations for The <strong>Basic Settings</strong> category focuses on foundational configurations for your Proxmox VE installation, including installing essential utilities, adding repositories, managing packages, and keeping the system up to date.
your Proxmox VE installation. These settings lay the groundwork for a well-optimized system.
</p> </p>
<h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2> <h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2>
<section className="mb-8"> <Steps>
<h3 className="text-xl font-semibold mb-2">1. Install Common System Utilities</h3> <Steps.Step>
<p className="mb-4"> <Steps.Header>
This optimization installs a set of common system utilities that are useful for system administration and <Steps.Title>Install Common System Utilities</Steps.Title>
troubleshooting. <Steps.Description>
</p> This optimization installs a set of common system utilities that are useful for system administration and troubleshooting.
<p className="mb-4"> </Steps.Description>
<strong>Why it's beneficial:</strong> Having these utilities pre-installed saves time when managing your </Steps.Header>
Proxmox VE system. They provide essential tools for monitoring system performance, managing files, and <Steps.Content>
troubleshooting issues, enhancing your ability to maintain and optimize your virtualization environment. <p className="mb-4">
</p> <strong>Why it's beneficial:</strong> Having these utilities pre-installed saves time when managing your
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4> Proxmox VE system. They provide essential tools for monitoring system performance, managing files, and
<CopyableCode code={installUtilitiesCode} /> troubleshooting issues, enhancing your ability to maintain and optimize your virtualization environment.
</section> </p>
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4>
<CopyableCode code={installUtilitiesCode} />
</Steps.Content>
</Steps.Step>
<section className="mb-8"> <Steps.Step>
<h3 className="text-xl font-semibold mb-2">2. Skip Downloading Additional Languages</h3> <Steps.Header>
<p className="mb-4"> <Steps.Title>Skip Downloading Additional Languages</Steps.Title>
This optimization configures APT to skip downloading additional language packages, which can save disk space <Steps.Description>
and speed up package operations. This optimization configures APT to skip downloading additional language packages, which can save disk space and speed up package operations.
</p> </Steps.Description>
<p className="mb-4"> </Steps.Header>
<strong>Why it's beneficial:</strong> By skipping unnecessary language packages, you can reduce disk usage and <Steps.Content>
improve the speed of package management operations. This is particularly useful in server environments where <p className="mb-4">
multiple language support is often not required. <strong>Why it's beneficial:</strong> By skipping unnecessary language packages, you can reduce disk usage and
</p> improve the speed of package management operations. This is particularly useful in server environments where
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run this command:</h4> multiple language support is often not required.
<CopyableCode code={skipLanguagesCode} /> </p>
</section> <h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run this command:</h4>
<CopyableCode code={skipLanguagesCode} />
</Steps.Content>
</Steps.Step>
<section className="mb-8"> <Steps.Step>
<h3 className="text-xl font-semibold mb-2">3. Synchronize Time Automatically</h3> <Steps.Header>
<p className="mb-4"> <Steps.Title>Synchronize Time Automatically</Steps.Title>
This optimization configures the system to automatically synchronize its time, ensuring accurate timekeeping. <Steps.Description>
</p> This optimization configures the system to automatically synchronize its time, ensuring accurate timekeeping.
<p className="mb-4"> </Steps.Description>
<strong>Why it's beneficial:</strong> Accurate timekeeping is crucial for many system operations, log </Steps.Header>
consistency, and proper functioning of time-sensitive applications. Automatic synchronization ensures your <Steps.Content>
Proxmox VE system maintains the correct time without manual intervention. <p className="mb-4">
</p> <strong>Why it's beneficial:</strong> Accurate timekeeping is crucial for many system operations, log
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4> consistency, and proper functioning of time-sensitive applications. Automatic synchronization ensures your
<CopyableCode code={timeSyncCode} /> Proxmox VE system maintains the correct time without manual intervention.
</section> </p>
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4>
<CopyableCode code={timeSyncCode} />
</Steps.Content>
</Steps.Step>
<section className="mb-8"> <Steps.Step>
<h3 className="text-xl font-semibold mb-2">4. Update and Upgrade System</h3> <Steps.Header>
<p className="mb-4"> <Steps.Title>Update and Upgrade System</Steps.Title>
This optimization updates the system's package lists, upgrades installed packages, and configures Proxmox <Steps.Description>
repositories. It also includes additional steps to properly set up Debian repositories and disable certain This optimization updates the system's package lists, upgrades installed packages, and configures Proxmox repositories.
warnings. </Steps.Description>
</p> </Steps.Header>
<p className="mb-4"> <Steps.Content>
<strong>Why it's beneficial:</strong> Keeping your system up-to-date is essential for security, stability, and <p className="mb-4">
performance. This optimization ensures you have the latest patches and features, while also configuring the <strong>Why it's beneficial:</strong> Keeping your system up-to-date is essential for security, stability, and
correct repositories for Proxmox VE, enabling access to necessary updates and tools. The additional steps help performance. This optimization ensures you have the latest patches and features, while also configuring the
in: correct repositories for Proxmox VE, enabling access to necessary updates and tools. The additional steps help
</p> in:
<ul className="list-disc pl-5 mb-4"> </p>
<li>Disabling enterprise repositories to avoid conflicts</li> <ul className="list-disc pl-5 mb-4">
<li>Enabling free and testing repositories for broader package access</li> <li>Disabling enterprise repositories to avoid conflicts</li>
<li>Properly configuring Debian repositories for a stable system</li> <li>Enabling free and testing repositories for broader package access</li>
<li>Suppressing non-free firmware warnings for a cleaner update experience</li> <li>Properly configuring Debian repositories for a stable system</li>
</ul> <li>Suppressing non-free firmware warnings for a cleaner update experience</li>
<h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4> </ul>
<CopyableCode code={updateUpgradeCode} /> <h4 className="text-lg font-semibold mb-2">To apply this optimization manually, run these commands:</h4>
</section> <CopyableCode code={updateUpgradeCode} />
</Steps.Content>
</Steps.Step>
</Steps>
<section className="mt-12 p-4 bg-blue-100 rounded-md"> <section className="mt-12 p-4 bg-blue-100 rounded-md">
<h2 className="text-xl font-semibold mb-2">Automatic Application</h2> <h2 className="text-xl font-semibold mb-2">Automatic Application</h2>
<p> <p>
All of these optimizations are automatically applied when selected in the Basic Settings section of the All of these optimizations are automatically applied when selected in the Basic Settings section. This automation ensures that these beneficial settings are applied
customizable_post_install.sh script. This automation ensures that these beneficial settings are applied
consistently and correctly, saving time and reducing the potential for human error during manual consistently and correctly, saving time and reducing the potential for human error during manual
configuration. configuration.
</p> </p>
@ -185,4 +197,3 @@ sudo apt-get install -y zfsutils-linux proxmox-backup-restore-image chrony
</div> </div>
) )
} }

View File

@ -38,7 +38,7 @@ export default function NetworkSettingsPage() {
<h1 className="text-3xl font-bold">Network Settings</h1> <h1 className="text-3xl font-bold">Network Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The <strong>Network Settings</strong> category in the <code>customizable_post_install.sh</code> script focuses on optimizing network The <strong>Network Settings</strong> category, focuses on optimizing network
performance and configuration for your Proxmox VE installation. These settings are crucial for ensuring efficient performance and configuration for your Proxmox VE installation. These settings are crucial for ensuring efficient
network operations, which is vital in a virtualized environment where multiple VMs and containers share network resources. network operations, which is vital in a virtualized environment where multiple VMs and containers share network resources.
</p> </p>
@ -173,8 +173,7 @@ sudo sysctl -p /etc/sysctl.d/99-network-performance.conf`} />
<section className="mt-12 p-4 bg-blue-100 rounded-md"> <section className="mt-12 p-4 bg-blue-100 rounded-md">
<h2 className="text-xl font-semibold mb-2">Automatic Application</h2> <h2 className="text-xl font-semibold mb-2">Automatic Application</h2>
<p> <p>
All of these optimizations are automatically applied when selected in the Basic Settings section of the All of these optimizations are automatically applied when selected in the Network section section. This automation ensures that these beneficial settings are applied
customizable_post_install.sh script. This automation ensures that these beneficial settings are applied
consistently and correctly, saving time and reducing the potential for human error during manual consistently and correctly, saving time and reducing the potential for human error during manual
configuration. configuration.
</p> </p>

View File

@ -38,7 +38,7 @@ export default function SystemSettingsPage() {
<h1 className="text-3xl font-bold">System Settings</h1> <h1 className="text-3xl font-bold">System Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The <strong>System Settings</strong> category in the <code>customizable_post_install.sh</code> script focuses on core system configurations The <strong>System Settings</strong> category focuses on core system configurations
and optimizations for your Proxmox VE installation. These settings are crucial for improving system performance, and optimizations for your Proxmox VE installation. These settings are crucial for improving system performance,
stability, and resource management, ensuring your virtualization environment operates at peak efficiency. stability, and resource management, ensuring your virtualization environment operates at peak efficiency.
</p> </p>
@ -116,8 +116,7 @@ sudo sysctl -p /etc/sysctl.d/99-memory.conf`} />
<section className="mt-12 p-4 bg-blue-100 rounded-md"> <section className="mt-12 p-4 bg-blue-100 rounded-md">
<h2 className="text-xl font-semibold mb-2">Automatic Application</h2> <h2 className="text-xl font-semibold mb-2">Automatic Application</h2>
<p> <p>
All of these optimizations are automatically applied when selected in the Basic Settings section of the All of these optimizations are automatically applied when selected in the System section. This automation ensures that these beneficial settings are applied
customizable_post_install.sh script. This automation ensures that these beneficial settings are applied
consistently and correctly, saving time and reducing the potential for human error during manual consistently and correctly, saving time and reducing the potential for human error during manual
configuration. configuration.
</p> </p>

View File

@ -38,7 +38,7 @@ export default function VirtualizationSettingsPage() {
<h1 className="text-3xl font-bold">Virtualization Settings</h1> <h1 className="text-3xl font-bold">Virtualization Settings</h1>
</div> </div>
<p className="mb-4"> <p className="mb-4">
The <strong>Virtualization Settings</strong> category in the <code>customizable_post_install.sh</code> script focuses on optimizing your The <strong>Virtualization Settings</strong> category focuses on optimizing your
Proxmox VE installation for enhanced virtualization performance, compatibility, and functionality. These settings Proxmox VE installation for enhanced virtualization performance, compatibility, and functionality. These settings
are crucial for creating a robust and efficient virtualization environment. are crucial for creating a robust and efficient virtualization environment.
</p> </p>
@ -134,8 +134,7 @@ sudo mount -a`} />
<section className="mt-12 p-4 bg-blue-100 rounded-md"> <section className="mt-12 p-4 bg-blue-100 rounded-md">
<h2 className="text-xl font-semibold mb-2">Automatic Application</h2> <h2 className="text-xl font-semibold mb-2">Automatic Application</h2>
<p> <p>
All of these optimizations are automatically applied when selected in the Basic Settings section of the All of these optimizations are automatically applied when selected in the Virtualization section. This automation ensures that these beneficial settings are applied
customizable_post_install.sh script. This automation ensures that these beneficial settings are applied
consistently and correctly, saving time and reducing the potential for human error during manual consistently and correctly, saving time and reducing the potential for human error during manual
configuration. configuration.
</p> </p>