documentation
This commit is contained in:
43
README.md
43
README.md
@@ -7,35 +7,34 @@
|
||||
- [System Administration](https://pve.proxmox.com/pve-docs/chapter-sysadmin.html)
|
||||
|
||||
|
||||
## LXC Containers
|
||||
|
||||
### Ubuntu Container - with Docker and Portainer
|
||||
|
||||
Notes :
|
||||
|
||||
- 682Mb disk usage (minimum disk usage)
|
||||
|
||||
## misc
|
||||
https://dannyda.com/2020/05/10/how-to-delete-remove-local-lvm-from-proxmox-ve-pve-and-some-lvm-basics-commands/
|
||||
- source list
|
||||
|
||||
### Power Management
|
||||
```bash
|
||||
#/etc/apt/sources.list
|
||||
deb http://ftp.pt.debian.org/debian bullseye main contrib
|
||||
deb http://ftp.pt.debian.org/debian bullseye-updates main contrib
|
||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
||||
# security updates
|
||||
deb http://security.debian.org bullseye-security main contrib
|
||||
#disable
|
||||
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
#enable
|
||||
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
#cpu scaling
|
||||
|
||||
#Source: https://community.home-assistant.io/t/psa-how-to-configure-proxmox-for-lower-power-usage/323731
|
||||
#check current scaling
|
||||
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
|
||||
#change to power save echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||
echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||
#add to crontab
|
||||
@reboot echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1
|
||||
|
||||
# powertop
|
||||
powertop --auto-tune
|
||||
|
||||
#reboot #add to crontab
|
||||
@reboot powertop --auto-tune >/dev/null 2>&1
|
||||
```
|
||||
|
||||
```
|
||||
#disable
|
||||
|
||||
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
#enable
|
||||
|
||||
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
|
||||
## As workstation
|
||||
|
||||
Reference in New Issue
Block a user