import type { Metadata } from "next" import { Settings } from "lucide-react" import CopyableCode from "@/components/CopyableCode" export const metadata: Metadata = { title: "ProxMenux Post-Install: Basic Settings", description: "Detailed guide to the Basic Settings category in the ProxMenux post-install script for Proxmox VE optimization.", openGraph: { title: "ProxMenux Post-Install: Basic Settings", description: "Detailed guide to the Basic Settings category in the ProxMenux post-install script for Proxmox VE optimization.", type: "article", url: "https://macrimi.github.io/ProxMenux/docs/post-install/basic-settings", images: [ { url: "https://macrimi.github.io/ProxMenux/basic-settings-image.png", width: 1200, height: 630, alt: "ProxMenux Post-Install Basic Settings", }, ], }, twitter: { card: "summary_large_image", title: "ProxMenux Post-Install: Basic Settings", description: "Detailed guide to the Basic Settings category in the ProxMenux post-install script for Proxmox VE optimization.", images: ["https://macrimi.github.io/ProxMenux/basic-settings-image.png"], }, } function StepNumber({ number }: { number: number }) { return (
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.
This option presents a menu where you can select which system utilities to install based on your needs.
The utilities selection menu allows you to choose which tools to install
Example usage:
axel -n 10 http://example.com/largefile.zip
Example usage:
dialog --title "Hello" --msgbox "Hello, World!" 10 20
Example usage:
dos2unix file.txt
Example usage (colorize ping output):
grc ping example.com
To start htop, simply type:
htop
To start btop, type:
btop
To start iftop (requires root):
iftop
To start iotop (requires root):
siotop
Example usage (server mode):
iperf3 -s
Example usage (client mode):
iperf3 -c server_ip
Example usage (create a new set):
ipset create myset hash:ip
To start iptraf-ng:
iptraf-ng
Example usage:
locate filename
Example usage (read MSR):
rdmsr 0x1a0
Example usage (show network interfaces):
ifconfig
Example usage:
sshpass -p 'password' ssh user@hostname
To start a new tmux session:
tmux
In tmux, most commands are executed using Ctrl + b, followed by another key:
Action | Shortcut |
---|---|
Detach session (leave it running) | Ctrl + b, then d |
List active sessions | tmux ls |
Reattach a session | tmux attach -t session_name |
Exit session | exit or Ctrl + d |
Example usage:
unzip file.zip
Example usage:
whois example.com
Example usage:
zip archive.zip file1 file2 file3
Example usage (list files in a VM disk image):
guestfish -a disk.img -m /dev/sda1 ls /
This option automatically installs these utilities by running this command:
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.
This adjustment automates the following command:
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.
This adjustment automates the following command:
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, disable certain warnings, and perform safety checks after the update process.
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. The disk metadata check helps prevent potential issues with storage devices that may have been modified by virtual machines.
This adjustment automates the following command:
After updating the system, the script performs an important safety check to detect disks with old PV (Physical Volume) headers that might have been modified by virtual machines.
Why this matters: When VMs have direct access to disks through passthrough, they can sometimes modify the disk metadata. This can cause issues with storage management on the host system, potentially leading to data access problems or errors when using LVM (Logical Volume Manager).
If any issues are detected, the script will display a warning message and suggest running the pvs
command to identify the affected disks. This early detection helps prevent potential storage problems before they impact your system.