vault backup: 2026-04-24 14:57:53
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
---
|
||||
category:
|
||||
- "[[Journal]]"
|
||||
- "[[Note]]"
|
||||
type:
|
||||
- "[[Log]]"
|
||||
title: initial install and setup of a proxmox host
|
||||
created: 2026-04-23T15:44:49
|
||||
date: 2026-04-23
|
||||
tags:
|
||||
---
|
||||
[[Proxmox|Proxmox]] initial generic setup
|
||||
|
||||
## during install
|
||||
|
||||
### network
|
||||
- 192.168.1.4x
|
||||
- host naming scheme
|
||||
- pve-xxxxx.home.arpa
|
||||
- where xxxxx = brand/manufacturer + model number
|
||||
- i.e. lenovo thinkstation p520 = pve-lp520
|
||||
|
||||
## post install
|
||||
|
||||
### pcie pass through
|
||||
- boot loader config
|
||||
- edit `/etc/default/grub`
|
||||
- add `intel_iommu=on iommu=pt` to `GRUB_CMDLINE_LINUX_DEFAULT=`
|
||||
- then `update-grub`
|
||||
- after reboot check: `cat /proc/cmdline`
|
||||
- other config
|
||||
- exec: `lspci -nn`
|
||||
- copy device id e.g. `[8086:a282]`
|
||||
- create/edit file: `/etc/modprobe.d/vfio.conf`
|
||||
- insert lines:
|
||||
- `options vfio-pci ids=8086:a282`
|
||||
- `softdep ahci pre: vfio-pci`
|
||||
- exec: `update-initramfs -u -k all`
|
||||
- after reboot check `lspci -nnk -s 00:17.0` (for sata ahci=bad, vfio=good)
|
||||
|
||||
### power saving
|
||||
- exec `apt install --no-install-recommends powertop`
|
||||
- exec `crontab -e` and add the following lines:
|
||||
```
|
||||
# PROXMOX POWER SAVING TWEAKS
|
||||
# Sets CPU to powersave
|
||||
@reboot echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1
|
||||
# Runs powertop auto-tune on boot
|
||||
@reboot /usr/sbin/powertop --auto-tune >/dev/null 2>&1
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
category:
|
||||
- "[[Journal]]"
|
||||
- "[[Note]]"
|
||||
type:
|
||||
- "[[Log]]"
|
||||
title: intial setup of a proxmox host
|
||||
created: 2026-04-23T15:44:49
|
||||
date: 2026-04-23
|
||||
tags:
|
||||
---
|
||||
[[Proxmox|Proxmox]] inital generic setup
|
||||
|
||||
**Powersaving**
|
||||
- `apt install --no-install-recommends powertop`
|
||||
- `crontab -e` and add the following lines:
|
||||
```
|
||||
# PROXMOX POWER SAVING TWEAKS
|
||||
# Sets CPU to powersave
|
||||
@reboot echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1
|
||||
# Runs powertop auto-tune on boot
|
||||
@reboot /usr/sbin/powertop --auto-tune >/dev/null 2>&1
|
||||
```
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
category:
|
||||
- "[[Journal]]"
|
||||
type:
|
||||
- "[[Log]]"
|
||||
title:
|
||||
created: 2026-04-24T11:23:01
|
||||
date: 2026-04-24
|
||||
tags:
|
||||
---
|
||||
Reference in New Issue
Block a user