From 986fd7aa1f57cbe60297bef602619cc9982b49a6 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sat, 1 Mar 2025 22:07:17 +0100 Subject: [PATCH] Update --- .../docs/post-install/basic-settings/page.tsx | 400 +++++++++--------- 1 file changed, 189 insertions(+), 211 deletions(-) diff --git a/web/app/docs/post-install/basic-settings/page.tsx b/web/app/docs/post-install/basic-settings/page.tsx index 67dd63c..83c2cb8 100644 --- a/web/app/docs/post-install/basic-settings/page.tsx +++ b/web/app/docs/post-install/basic-settings/page.tsx @@ -32,7 +32,124 @@ export const metadata: Metadata = { } export default function BasicSettingsPage() { - const installUtilitiesCode = ` + return ( +
+
+ +

Basic Settings

+
+

+ The Basic Settings 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. +

+

Available Optimizations

+ + + + +
+

+ This optimization installs a set of common system utilities that are useful for system administration and + troubleshooting. +

+

+ Why it's beneficial: Having these utilities pre-installed saves time when managing your + Proxmox VE system. They provide essential tools for monitoring system performance, managing files, and + troubleshooting issues, enhancing your ability to maintain and optimize your virtualization environment. +

+

Utilities installed:

+
    +
  • + axel: A light command-line download accelerator +
  • +
  • + curl: A tool for transferring data using various protocols +
  • +
  • + dialog: A tool for creating TUI interfaces +
  • +
  • + dnsutils: DNS utilities including dig and nslookup +
  • +
  • + dos2unix: Text file format converter +
  • +
  • + gnupg-agent: GNU privacy guard - password agent +
  • +
  • + grc: Generic colouriser for everything +
  • +
  • + htop: An interactive process viewer +
  • +
  • + btop: A resource monitor that shows usage and stats for processor, memory, disks, network + and processes +
  • +
  • + iftop: A tool to display bandwidth usage on an interface +
  • +
  • + iotop: A tool to display I/O usage by processes +
  • +
  • + iperf3: A tool for active measurements of the maximum achievable bandwidth on IP networks +
  • +
  • + ipset: A tool to manage IP sets in the Linux kernel +
  • +
  • + iptraf-ng: An interactive colorful IP LAN monitor +
  • +
  • + mlocate: A tool to find files by name quickly +
  • +
  • + msr-tools: Tools for accessing CPU model-specific registers +
  • +
  • + nano: A small, friendly text editor +
  • +
  • + net-tools: A collection of programs that form the base set of the NET-3 networking + distribution for the Linux operating system +
  • +
  • + omping: An open multicast ping tool +
  • +
  • + software-properties-common: Provides an abstraction of the used apt repositories +
  • +
  • + sshpass: A tool for non-interactive ssh password authentication +
  • +
  • + tmux: A terminal multiplexer +
  • +
  • + unzip: A tool for extracting and viewing files in .zip archives +
  • +
  • + vim and vim-nox: A highly configurable text editor +
  • +
  • + wget: A utility for non-interactive download of files from the Web +
  • +
  • + whois: A client for the whois directory service +
  • +
  • + zip: A compression and file packaging utility +
  • +
  • + libguestfs-tools: A set of tools for accessing and modifying virtual machine disk images +
  • +
+

To apply this optimization manually, run:

+ +
- const skipLanguagesCode = ` + + + +
+

+ This optimization configures APT to skip downloading additional language packages, which can save disk space + and speed up package operations. +

+

+ Why it's beneficial: By skipping unnecessary language packages, you can reduce disk usage and + improve the speed of package management operations. This is particularly useful in server environments where + multiple language support is often not required. +

+

To apply this optimization manually, run:

+ +
- const timeSyncCode = ` + + + +
+

+ This optimization configures the system to automatically synchronize its time, ensuring accurate timekeeping. +

+

+ Why it's beneficial: Accurate timekeeping is crucial for many system operations, log + consistency, and proper functioning of time-sensitive applications. Automatic synchronization ensures your + Proxmox VE system maintains the correct time without manual intervention. +

+

To apply this optimization manually, run:

+ +
- const updateUpgradeCode = ` + + + +
+

+ This optimization updates the system's package lists, upgrades installed packages, and configures Proxmox + repositories. It also includes additional steps to properly set up Debian repositories and disable certain + warnings. +

+

+ Why it's beneficial: Keeping your system up-to-date is essential for security, stability, and + performance. This optimization ensures you have the latest patches and features, while also configuring the + correct repositories for Proxmox VE, enabling access to necessary updates and tools. +

+

To apply this optimization manually, run:

+ +
- export default function BasicSettingsPage() { - const installUtilitiesCode = ` - # Update package lists - sudo apt-get update - - # Install common system utilities - sudo apt-get install -y axel curl dialog dnsutils dos2unix gnupg-agent grc htop btop iftop iotop - sudo apt-get install -y iperf3 ipset iptraf-ng mlocate msr-tools nano net-tools omping - sudo apt-get install -y software-properties-common sshpass tmux unzip vim vim-nox wget whois zip - sudo apt-get install -y libguestfs-tools - ` - - const skipLanguagesCode = ` - # Configure APT to skip downloading additional languages - echo 'Acquire::Languages "none";' | sudo tee /etc/apt/apt.conf.d/99-disable-translations - ` - - const timeSyncCode = ` - # Note: To set timezone automatically based on IP, you can use: - IP=$(dig +short myip.opendns.com @resolver1.opendns.com) - TIMEZONE=$(curl -s "https://ipapi.co/$IP/timezone") - sudo timedatectl set-timezone "$TIMEZONE" - ` - - const updateUpgradeCode = ` - # Disable enterprise Proxmox repository - if [ -f /etc/apt/sources.list.d/pve-enterprise.list ]; then - sudo sed -i 's/^deb/#deb/g' /etc/apt/sources.list.d/pve-enterprise.list - fi - - # Disable enterprise Proxmox Ceph repository - if [ -f /etc/apt/sources.list.d/ceph.list ]; then - sudo sed -i 's/^deb/#deb/g' /etc/apt/sources.list.d/ceph.list - fi - - # Enable free public Proxmox repository - echo "deb http://download.proxmox.com/debian/pve $(lsb_release -cs) pve-no-subscription" | sudo tee /etc/apt/sources.list.d/pve-public-repo.list - - # Enable Proxmox testing repository - echo "deb http://download.proxmox.com/debian/pve $(lsb_release -cs) pvetest" | sudo tee /etc/apt/sources.list.d/pve-testing-repo.list - - # Configure main Debian repositories - cat < -
- -

Basic Settings

-
-

- The Basic Settings 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. +

+

Automatic Application

+

+ All of these optimizations are automatically applied when selected in the Basic Settings section. This + automation ensures that these beneficial settings are applied consistently and correctly, saving time and + reducing the potential for human error during manual configuration.

- -

Available Optimizations

- - - -

- This step installs a set of common system utilities useful for system administration and troubleshooting. -

-

Utilities installed:

-
    -
  • - axel: A light command-line download accelerator -
  • -
  • - curl: A tool for transferring data using various protocols -
  • -
  • - dialog: A full-screen dialog library -
  • -
  • - dnsutils: Various utilities for DNS lookups -
  • -
  • - dos2unix: Converts DOS text files to Unix format -
  • -
  • - gnupg-agent: A helper application for GnuPG -
  • -
  • - grc: Colorizes command output -
  • -
  • - htop: An interactive process viewer -
  • -
  • - btop: A system monitor -
  • -
  • - iftop: A network monitor -
  • -
  • - iotop: A disk I/O monitor -
  • -
  • - iperf3: A network bandwidth measurement tool -
  • -
  • - ipset: A powerful tool for managing IP sets -
  • -
  • - iptraf-ng: A network traffic monitor -
  • -
  • - mlocate: A fast file locator -
  • -
  • - msr-tools: Tools for managing MSR registers -
  • -
  • - nano: A simple text editor -
  • -
  • - net-tools: Various network utilities -
  • -
  • - mping: A multi-ping tool -
  • -
  • - software-properties-common: Common tools for managing software repositories -
  • -
  • - sshpass: A tool for automating SSH password entry -
  • -
  • - tmux: A terminal multiplexer -
  • -
  • - unzip: A tool for extracting zip archives -
  • -
  • - vim: A powerful text editor -
  • -
  • - vim-nox: Vim without X11 dependencies -
  • -
  • - wget: A command-line download utility -
  • -
  • - whois: A tool for querying WHOIS databases -
  • -
  • - zip: A tool for creating zip archives -
  • -
  • - libguestfs-tools: Tools for managing guest virtual machines -
  • -
- -
- -

- This optimization configures APT to skip downloading additional language packages, saving disk space and - speeding up package operations. -

- -
- -

This step configures the system to automatically synchronize its time, ensuring accurate timekeeping.

- -
- -

- This optimization updates the system's package lists, upgrades installed packages, and configures Proxmox - repositories. -

- -
-
- -
-

Automatic Application

-

- All of these optimizations are automatically applied when selected in the Basic Settings section. This - automation ensures that these beneficial settings are applied consistently and correctly, saving time and - reducing the potential for human error during manual configuration. -

-
-
- ) - } \ No newline at end of file + + + ) +} +