diff --git a/web/app/docs/post-install/system/page.tsx b/web/app/docs/post-install/system/page.tsx index 75456e2..9d37316 100644 --- a/web/app/docs/post-install/system/page.tsx +++ b/web/app/docs/post-install/system/page.tsx @@ -31,6 +31,7 @@ export const metadata: Metadata = { } export default function SystemSettingsPage() { + const fastRebootCode = ` # Install kexec-tools sudo apt-get install -y kexec-tools @@ -205,6 +206,19 @@ EOF sudo sysctl -p /etc/sysctl.d/99-memory.conf ` + 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" +` return (
@@ -329,6 +343,20 @@ sudo sysctl -p /etc/sysctl.d/99-memory.conf +
+

9. Synchronize Time Automatically

+

+ 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 these commands:

+ +
+

Automatic Application

@@ -339,5 +367,4 @@ sudo sysctl -p /etc/sysctl.d/99-memory.conf

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