Skip to content

Commit

Permalink
fix(proxmox): updates & power consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Sep 11, 2023
1 parent bda0d49 commit 1398907
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Virtualization/ProxMox/proxmox-8-apt-updates.md
Original file line number Diff line number Diff line change
@@ -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
```
15 changes: 15 additions & 0 deletions Virtualization/ProxMox/proxmox-cpu-consumption.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 1398907

Please sign in to comment.