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)
|
- [System Administration](https://pve.proxmox.com/pve-docs/chapter-sysadmin.html)
|
||||||
|
|
||||||
|
|
||||||
## LXC Containers
|
## misc
|
||||||
|
|
||||||
### Ubuntu Container - with Docker and Portainer
|
|
||||||
|
|
||||||
Notes :
|
|
||||||
|
|
||||||
- 682Mb disk usage (minimum disk usage)
|
|
||||||
|
|
||||||
https://dannyda.com/2020/05/10/how-to-delete-remove-local-lvm-from-proxmox-ve-pve-and-some-lvm-basics-commands/
|
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
|
```bash
|
||||||
#/etc/apt/sources.list
|
#disable
|
||||||
deb http://ftp.pt.debian.org/debian bullseye main contrib
|
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
deb http://ftp.pt.debian.org/debian bullseye-updates main contrib
|
#enable
|
||||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
# security updates
|
|
||||||
deb http://security.debian.org bullseye-security main contrib
|
|
||||||
|
|
||||||
|
#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
|
## As workstation
|
||||||
|
|||||||
@@ -1,26 +1,15 @@
|
|||||||
# Proxmox as a workstation
|
# Proxmox as a workstation
|
||||||
|
|
||||||
|
|
||||||
```bash
|
## sources
|
||||||
#add to all packages non-free
|
|
||||||
#/etc/apt/sources.list
|
|
||||||
deb http://ftp.pt.debian.org/debian bullseye main contrib non-free
|
|
||||||
deb http://ftp.pt.debian.org/debian bullseye-updates main contrib non-free
|
|
||||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
|
||||||
# security updates
|
|
||||||
deb http://security.debian.org bullseye-security main contrib non-free
|
|
||||||
|
|
||||||
```
|
- https://pve.proxmox.com/wiki/Developer_Workstations_with_Proxmox_VE_and_X11
|
||||||
|
|
||||||
## Kernel 6.x
|
|
||||||
```bash
|
|
||||||
apt update
|
|
||||||
apt install pve-kernel-6.1
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Destop Enviroment
|
## Destop Enviroment
|
||||||
|
|
||||||
|
|
||||||
|
### Gnome
|
||||||
``` bash
|
``` bash
|
||||||
apt install gnome
|
apt install gnome
|
||||||
|
|
||||||
@@ -28,36 +17,7 @@ apt install pve-kernel-6.1
|
|||||||
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
|
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## misc
|
|
||||||
|
|
||||||
``` bash
|
|
||||||
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
|
||||||
#systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Hardware specific
|
|
||||||
|
|
||||||
|
|
||||||
### 5700G Amd
|
|
||||||
|
|
||||||
``` bash
|
|
||||||
#not used
|
|
||||||
#The following packages will be REMOVED:
|
|
||||||
# proxmox-ve pve-firmware pve-kernel-5.15 pve-kernel-6.2
|
|
||||||
#The following NEW packages will be installed:
|
|
||||||
# firmware-amd-graphics
|
|
||||||
#apt-get install firmware-amd-graphics libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers xserver-xorg-video-all
|
|
||||||
|
|
||||||
#wifi
|
|
||||||
#sudo apt-get install firmware-realtek firmware-misc-nonfree
|
|
||||||
#bluethooth and audio
|
|
||||||
#sudo apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## sources
|
|
||||||
|
|
||||||
- https://pve.proxmox.com/wiki/Developer_Workstations_with_Proxmox_VE_and_X11
|
|
||||||
Reference in New Issue
Block a user