import type { Metadata } from "next" import { Settings } from "lucide-react" 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.", // ... (rest of the metadata remains the same) } export default function BasicSettingsPage() { const installUtilitiesCode = ` sudo apt-get update sudo apt-get install -y axel curl dialog dnsutils dos2unix gnupg-agent grc htop btop iftop iotop \\ iperf3 ipset iptraf-ng mlocate msr-tools nano net-tools omping \\ software-properties-common sshpass tmux unzip vim vim-nox wget whois zip \\ libguestfs-tools ` const skipLanguagesCode = ` echo 'Acquire::Languages "none";' | sudo tee /etc/apt/apt.conf.d/99-disable-translations ` const timeSyncCode = ` # Set timezone (replace 'America/New_York' with your timezone) sudo timedatectl set-timezone America/New_York # Enable automatic time synchronization sudo timedatectl set-ntp true # Note: Automatic timezone setting based on IP is commented out to avoid errors # To set timezone automatically based on IP, you would need to run: # 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 repos sudo sed -i 's/^deb/#deb/g' /etc/apt/sources.list.d/pve-enterprise.list sudo sed -i 's/^deb/#deb/g' /etc/apt/sources.list.d/ceph.list # Enable free public repo 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 # Update and upgrade sudo apt-get update sudo apt-get dist-upgrade -y # Update PVE application manager pveam update # Install additional packages sudo apt-get install -y zfsutils-linux proxmox-backup-restore-image chrony ` return (
The Basic Settings category in the customizable_post_install.sh script covers fundamental configurations for your Proxmox VE installation. These settings lay the groundwork for a well-optimized system.
This optimization installs a set of common system utilities that are useful for system administration and troubleshooting.
{installUtilitiesCode}
This optimization configures APT to skip downloading additional language packages, which can save disk space and speed up package operations.
{skipLanguagesCode}
This optimization configures the system to automatically synchronize its time, ensuring accurate timekeeping.
{timeSyncCode}
This optimization updates the system's package lists, upgrades installed packages, and configures Proxmox repositories.
{updateUpgradeCode}
When running the customizable_post_install.sh script, you'll be prompted to choose which Basic Settings optimizations to apply. You can select all or pick specific ones based on your needs.
For detailed information on each optimization and its impact, refer to the script comments or consult the ProxMenux documentation.