55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
---
|
|
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
|
|
```
|
|
|
|
|
|
|
|
|