From 13989070da885e7005afd9e3fad1e78f69a522f7 Mon Sep 17 00:00:00 2001 From: rwxd Date: Mon, 11 Sep 2023 12:29:20 +0200 Subject: [PATCH] fix(proxmox): updates & power consumption --- .../ProxMox/proxmox-8-apt-updates.md | 20 +++++++++++++++++++ .../ProxMox/proxmox-cpu-consumption.md | 15 ++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 Virtualization/ProxMox/proxmox-8-apt-updates.md create mode 100644 Virtualization/ProxMox/proxmox-cpu-consumption.md diff --git a/Virtualization/ProxMox/proxmox-8-apt-updates.md b/Virtualization/ProxMox/proxmox-8-apt-updates.md new file mode 100644 index 00000000..e141d432 --- /dev/null +++ b/Virtualization/ProxMox/proxmox-8-apt-updates.md @@ -0,0 +1,20 @@ +# Configure apt repository updates on Proxmox 8.x.x Community Edition + +## Add the Proxmox repositoy to /etc/apt/sources.list.d/pve-community.list + +```bash +echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-community.list +``` + +## Comment out the enterprise repository at /etc/apt/sources.list.d/pve-enterprise.list + +```bash +sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list +``` + +## Change the ceph repository at /etc/apt/sources.list.d/ceph.list + +```bash +sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/ceph.list +echo "deb http://download.proxmox.com/debian/ceph-pacific bookworm main" >> /etc/apt/sources.list.d/ceph.list +``` diff --git a/Virtualization/ProxMox/proxmox-cpu-consumption.md b/Virtualization/ProxMox/proxmox-cpu-consumption.md new file mode 100644 index 00000000..c439eb83 --- /dev/null +++ b/Virtualization/ProxMox/proxmox-cpu-consumption.md @@ -0,0 +1,15 @@ +# Reduce CPU consumption on Proxmox + +1. Login to the Proxmox host via the web interface by pressing on Shell +2. Install the package `cpufrequtils` via `apt install cpufrequtils` + ```bash + apt update && apt install cpufrequtils + ``` +3. See available governors via `cpufreq-info -g` + ```bash + cpufreq-info -g + ``` +4. Set the governor to `powersave` via `cpufreq-set -g powersave` + ```bash + cpufreq-set -g powersave + ```