mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
update changelog
This commit is contained in:
parent
ea14ff2bdc
commit
c565097a63
46
CHANGELOG.md
46
CHANGELOG.md
@ -1,3 +1,49 @@
|
|||||||
|
## 2025-05-13
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **Startup Fix on Newer Proxmox Versions**\
|
||||||
|
Fixed an issue where some recent Proxmox installations lacked the `/usr/local/bin` directory, causing errors when installing the execution menu. The script now creates the directory if it does not exist before downloading the main menu.\
|
||||||
|
🙏 Thanks to **@danielmateos** for detecting and reporting this issue.
|
||||||
|
|
||||||
|
### Improved
|
||||||
|
|
||||||
|
- **Updated Lynis Installation Logic in Post-Install Settings**\
|
||||||
|
The `install_lynis()` function was improved to always install the **latest version** of Lynis by cloning the official GitHub repository:
|
||||||
|
```
|
||||||
|
https://github.com/CISOfy/lynis.git
|
||||||
|
```
|
||||||
|
The installation process now ensures the latest version is always fetched and linked properly within the system path.
|
||||||
|
|
||||||
|
🙏 Thanks to **@Kamunhas** for reporting this enhancement opportunity.
|
||||||
|
|
||||||
|
- **Balanced Memory Optimization for Low-Memory Systems**
|
||||||
|
Improved the default memory settings to better support systems with limited RAM. The previous configuration could prevent low-spec servers from booting. Now, a more balanced set of kernel parameters is used, and memory compaction is enabled if supported by the system.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cat <<EOF | sudo tee /etc/sysctl.d/99-memory.conf
|
||||||
|
# Balanced Memory Optimization
|
||||||
|
vm.swappiness = 10
|
||||||
|
vm.dirty_ratio = 15
|
||||||
|
vm.dirty_background_ratio = 5
|
||||||
|
vm.overcommit_memory = 1
|
||||||
|
vm.max_map_count = 65530
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Enable memory compaction if supported by the system
|
||||||
|
if [ -f /proc/sys/vm/compaction_proactiveness ]; then
|
||||||
|
echo "vm.compaction_proactiveness = 20" | sudo tee -a /etc/sysctl.d/99-memory.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Apply settings
|
||||||
|
sudo sysctl -p /etc/sysctl.d/99-memory.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
These values help maintain responsiveness and system stability even under constrained memory conditions.
|
||||||
|
|
||||||
|
🙏 Thanks to **@chesspeto** for pointing out this issue and helping refine the optimization.
|
||||||
|
|
||||||
|
|
||||||
## 2025-05-04
|
## 2025-05-04
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -137,27 +137,46 @@ sudo systemctl restart systemd-journald
|
|||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||||
<StepNumber number={5} />
|
<StepNumber number={5} />
|
||||||
Optimize Memory Management
|
Optimize Memory Management
|
||||||
</h3>
|
</h3>
|
||||||
<p className="mb-4">
|
|
||||||
This optimization adjusts kernel parameters to improve <strong>memory allocation</strong> and <strong>system responsiveness.</strong>
|
<p className="mb-4">
|
||||||
</p>
|
This memory optimization configures low-level kernel parameters to improve <strong>system responsiveness</strong> and <strong>RAM availability</strong>, especially on hosts with limited memory.
|
||||||
<p className="mb-4">
|
</p>
|
||||||
|
|
||||||
|
<p className="mb-4">
|
||||||
<strong className="block">Why it's beneficial:</strong>
|
<strong className="block">Why it's beneficial:</strong>
|
||||||
Efficient memory management prevents out-of-memory (OOM) conditions,
|
By tuning how Linux handles dirty memory pages, swap usage, and virtual memory mappings, this adjustment helps the system free memory more proactively and avoid sudden out-of-memory (OOM) errors — particularly valuable on Proxmox nodes with 1–4 GB of RAM.
|
||||||
enhances stability, and optimizes resource allocation in virtualization environments.
|
</p>
|
||||||
This is particularly important for hosts running memory-intensive workloads or multiple VMs.
|
|
||||||
</p>
|
<p className="mb-4">
|
||||||
<p className="text-lg mb-2">This adjustment automates the following commands:</p>
|
It also enables safe overcommit behavior and, if supported, proactive memory compaction to make memory use more efficient across multiple processes and containers.
|
||||||
<CopyableCode
|
</p>
|
||||||
code={`
|
|
||||||
echo "vm.swappiness = 10" | sudo tee /etc/sysctl.d/99-memory.conf
|
<p className="text-lg mb-2">This optimization applies the following configuration:</p>
|
||||||
echo "vm.vfs_cache_pressure = 50" | sudo tee -a /etc/sysctl.d/99-memory.conf
|
|
||||||
sudo sysctl -p /etc/sysctl.d/99-memory.conf
|
<CopyableCode
|
||||||
|
code={`
|
||||||
|
cat <<EOF | sudo tee /etc/sysctl.d/99-memory.conf
|
||||||
|
# Balanced Memory Optimization
|
||||||
|
vm.swappiness = 10
|
||||||
|
vm.dirty_ratio = 15
|
||||||
|
vm.dirty_background_ratio = 5
|
||||||
|
vm.overcommit_memory = 1
|
||||||
|
vm.max_map_count = 65530
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Enable memory compaction if supported by the system
|
||||||
|
if [ -f /proc/sys/vm/compaction_proactiveness ]; then
|
||||||
|
echo "vm.compaction_proactiveness = 20" | sudo tee -a /etc/sysctl.d/99-memory.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Apply settings
|
||||||
|
sudo sysctl -p /etc/sysctl.d/99-memory.conf
|
||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
< h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
< h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||||
|
BIN
web/public/avatars/Kamunhas.png
Normal file
BIN
web/public/avatars/Kamunhas.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
web/public/avatars/jonatancastro.png
Normal file
BIN
web/public/avatars/jonatancastro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
x
Reference in New Issue
Block a user