diff --git a/web/app/docs/post-install/system/page.tsx b/web/app/docs/post-install/system/page.tsx index 8ddf288..0130768 100644 --- a/web/app/docs/post-install/system/page.tsx +++ b/web/app/docs/post-install/system/page.tsx @@ -160,7 +160,7 @@ sudo sysctl -p /etc/sysctl.d/99-memory.conf /> -

+< h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> Improve Entropy Generation with Haveged

@@ -205,9 +205,107 @@ sudo sysctl -p /etc/sysctl.d/99-memory.conf

Once applied, your system will maintain sufficient entropy levels at all times—leading to better performance, stability, and responsiveness. +

+ + + + +

+ + Install Kernel Headers +

+ +

+ What are kernel headers? Kernel headers are essential files that allow software and modules to interface directly with the Linux kernel. They are required when compiling or installing drivers, DKMS modules, or virtualization tools that integrate at a low system level.

- +

+ This optimization automatically detects the current kernel version and installs the appropriate linux-headers package. +

+ +

+ Why it's beneficial: +

+ + +

This adjustment automates the following logic:

+ /dev/null 2>&1; then + apt-get install -y "\$PACKAGE" + fi + `} + /> + +

+ After installation, some modules may require a system reboot to activate properly. ProxMenux will notify you if a reboot is recommended. +

+ + + +

+ + Optimize Logrotate Configuration +

+ +

+ What is logrotate? Logrotate is a utility that manages the automatic rotation and compression of log files to prevent them from consuming excessive disk space. +

+ +

+ This optimization replaces the default configuration with a cleaner and more efficient policy that rotates logs daily, compresses them, and limits their size. +

+ +

+ Why it's beneficial: +

+ + +

This adjustment automates the following logic:

+ /etc/logrotate.conf + # ProxMenux optimized configuration + daily + su root adm + rotate 7 + create + compress + size=10M + delaycompress + copytruncate + + include /etc/logrotate.d + EOF + + # Restart service + systemctl restart logrotate + `} + /> + +

+ After applying this optimization, your system will automatically rotate and compress logs based on usage and file size, keeping your disk clean and performance stable. +

+ + +

Automatic Application