This commit is contained in:
MacRimi 2025-03-02 12:46:02 +01:00
parent 0fc9debbb7
commit 123d95ec47
2 changed files with 133 additions and 32 deletions

View File

@ -65,6 +65,95 @@ export default function BasicSettingsPage() {
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.
</p>
<h4 className="text-lg font-semibold mb-2">Utilities installed:</h4>
<ul className="list-disc pl-5 mb-4 space-y-2">
<li>
<strong>axel</strong>: A light command-line download accelerator
</li>
<li>
<strong>curl</strong>: A tool for transferring data using various protocols
</li>
<li>
<strong>dialog</strong>: A tool for creating TUI interfaces
</li>
<li>
<strong>dnsutils</strong>: DNS utilities including dig and nslookup
</li>
<li>
<strong>dos2unix</strong>: Text file format converter
</li>
<li>
<strong>gnupg-agent</strong>: GNU privacy guard - password agent
</li>
<li>
<strong>grc</strong>: Generic colouriser for everything
</li>
<li>
<strong>htop</strong>: An interactive process viewer
</li>
<li>
<strong>btop</strong>: A resource monitor that shows usage and stats for processor, memory, disks, network and
processes
</li>
<li>
<strong>iftop</strong>: A tool to display bandwidth usage on an interface
</li>
<li>
<strong>iotop</strong>: A tool to display I/O usage by processes
</li>
<li>
<strong>iperf3</strong>: A tool for active measurements of the maximum achievable bandwidth on IP networks
</li>
<li>
<strong>ipset</strong>: A tool to manage IP sets in the Linux kernel
</li>
<li>
<strong>iptraf-ng</strong>: An interactive colorful IP LAN monitor
</li>
<li>
<strong>mlocate</strong>: A tool to find files by name quickly
</li>
<li>
<strong>msr-tools</strong>: Tools for accessing CPU model-specific registers
</li>
<li>
<strong>nano</strong>: A small, friendly text editor
</li>
<li>
<strong>net-tools</strong>: A collection of programs that form the base set of the NET-3 networking
distribution for the Linux operating system
</li>
<li>
<strong>omping</strong>: An open multicast ping tool
</li>
<li>
<strong>software-properties-common</strong>: Provides an abstraction of the used apt repositories
</li>
<li>
<strong>sshpass</strong>: A tool for non-interactive ssh password authentication
</li>
<li>
<strong>tmux</strong>: A terminal multiplexer
</li>
<li>
<strong>unzip</strong>: A tool for extracting and viewing files in .zip archives
</li>
<li>
<strong>vim</strong> and <strong>vim-nox</strong>: A highly configurable text editor
</li>
<li>
<strong>wget</strong>: A utility for non-interactive download of files from the Web
</li>
<li>
<strong>whois</strong>: A client for the whois directory service
</li>
<li>
<strong>zip</strong>: A compression and file packaging utility
</li>
<li>
<strong>libguestfs-tools</strong>: A set of tools for accessing and modifying virtual machine disk images
</li>
</ul>
<p className="text-lg mb-2">This adjustment automates the following command:</p>
<CopyableCode
code={`
@ -136,6 +225,29 @@ sudo timedatectl set-timezone "$TIMEZONE"
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.
</p>
<h4 className="text-lg font-semibold mb-2">Repository changes:</h4>
<ul className="list-disc pl-5 mb-4 space-y-2">
<li>
<strong>Disabled:</strong> Enterprise Proxmox repository (pve-enterprise.list) - This repository is for users
with a paid subscription.
</li>
<li>
<strong>Disabled:</strong> Enterprise Proxmox Ceph repository (ceph.list) - This repository is for enterprise
Ceph storage solutions.
</li>
<li>
<strong>Added:</strong> Free public Proxmox repository (pve-public-repo.list) - This provides access to free
Proxmox VE updates and packages.
</li>
<li>
<strong>Added:</strong> Proxmox testing repository (pve-testing-repo.list) - This repository contains the
latest, potentially unstable updates for testing purposes.
</li>
<li>
<strong>Configured:</strong> Main Debian repositories - These provide access to the core Debian packages and
security updates.
</li>
</ul>
<p className="text-lg mb-2">This adjustment automates the following command:</p>
<CopyableCode
code={`

View File

@ -46,9 +46,8 @@ export default function SystemSettingsPage() {
<h1 className="text-3xl font-bold">System Settings</h1>
</div>
<p className="mb-4">
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, stability, and resource
management, ensuring your virtualization environment operates at peak efficiency.
The <strong>System Settings</strong> category includes core system configurations and optimizations for Proxmox VE,
focusing on performance, stability, and resource management.
</p>
<h2 className="text-2xl font-semibold mt-8 mb-4">Available Optimizations</h2>
@ -57,13 +56,12 @@ export default function SystemSettingsPage() {
Enable Fast Reboots
</h3>
<p className="mb-4">
This optimization enables <code>kexec</code>, a mechanism that allows the system to boot directly into a new
kernel from an existing running kernel, bypassing the BIOS/firmware and bootloader stages.
This optimization enables <code>kexec</code>, allowing the system to boot directly into a new kernel
without going through the BIOS/firmware and bootloader.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> Fast reboots significantly reduce system downtime during maintenance or
updates. In a virtualization environment where multiple VMs might be running, minimizing host downtime is
crucial for maintaining high availability and reducing disruption to services.
<strong>Why it's beneficial:</strong> FFast reboots reduce system downtime during updates and maintenance.
This is particularly useful in virtualization environments where minimizing host downtime helps maintain service availability.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -79,14 +77,11 @@ echo "alias reboot-quick='systemctl kexec'" >> ~/.bash_profile
Configure Kernel Panic Behavior
</h3>
<p className="mb-4">
This setting configures the system to automatically reboot after a kernel panic occurs, rather than hanging
indefinitely.
This setting configures the system to automatically reboot after a <strong>kernel panic</strong> instead of remaining unresponsive.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> Automatic reboots after kernel panics help maintain system availability.
Instead of requiring manual intervention, which could lead to extended downtime, the system attempts to recover
on its own. This is particularly crucial in remote or lights-out data center environments where immediate
physical access might not be possible.
<strong>Why it's beneficial:</strong> AAutomatic recovery reduces downtime and prevents the need for manual intervention,
which is critical in remote or unattended environments where physical access is limited.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -102,15 +97,12 @@ sudo sysctl -p /etc/sysctl.d/99-kernelpanic.conf
Increase System Limits
</h3>
<p className="mb-4">
This optimization increases various system limits, including the maximum number of file watches and open file
descriptors.
This optimization increases system resource limits, including the maximum number of <strong>file watches</strong> and <strong>open file descriptors.</strong>
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> Higher system limits allow for better resource utilization, especially in
high-density virtualization environments. Increased file watch limits improve performance for applications that
monitor many files (like backup systems or development environments). Higher open file limits allow more
concurrent connections and file operations, which is crucial for busy servers hosting multiple VMs or
containers.
<strong>Why it's beneficial:</strong> Higher limits enhance resource utilization, improving performance for applications
that monitor large numbers of files or handle high concurrent connections. This is essential
for servers running multiple VMs or containers.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -126,14 +118,12 @@ sudo sysctl -p
Optimize Journald
</h3>
<p className="mb-4">
This setting configures systemd's journald logging service to limit its disk usage and optimize performance.
This setting configures <strong>systemd-journald</strong> to limit disk usage and optimize logging performance.
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> Proper log management is crucial for system health and troubleshooting. By
limiting the maximum size of the journal, you prevent logs from consuming excessive disk space, which could
potentially fill up the system partition. This is especially important in virtualization environments where disk
space is often at a premium. Additionally, optimized logging reduces I/O operations, potentially improving
overall system performance.
<strong>Why it's beneficial:</strong> Restricting log size prevents excessive disk consumption,
reducing the risk of system partitions filling up. Optimized logging also decreases I/O operations,
improving system performance, especially in disk-constrained environments.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode
@ -148,13 +138,12 @@ sudo systemctl restart systemd-journald
Optimize Memory Management
</h3>
<p className="mb-4">
This optimization adjusts various memory-related kernel parameters to improve system performance and stability.
This optimization adjusts kernel parameters to improve <strong>memory allocation</strong> and <strong>system responsiveness.</strong>
</p>
<p className="mb-4">
<strong>Why it's beneficial:</strong> Proper memory management is critical in virtualization environments where
multiple VMs compete for resources. These optimizations can help prevent out-of-memory situations, improve
memory allocation efficiency, and enhance overall system responsiveness. This is particularly beneficial for
hosts running memory-intensive workloads or a high number of VMs.
<strong>Why it's beneficial:</strong> Efficient memory management prevents out-of-memory (OOM) conditions,
enhances stability, and optimizes resource allocation in virtualization environments.
This is particularly important for hosts running memory-intensive workloads or multiple VMs.
</p>
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
<CopyableCode