Debian with Proxmox: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Why not the Proxmox Installer? == | |||
* The Proxmox installer does not allow for manual partitioning and wipes the whole disk | |||
* Debian allows manual partitioning | |||
== Installation of Debian == | == Installation of Debian == | ||
* https://www.debian.org/download.en.html | * https://www.debian.org/download.en.html | ||
** AMD64 netinst | ** AMD64 netinst | ||
** (Non-graphical) Install (Non-expert) | |||
** Only install packages: | |||
*** SSH server | |||
*** Standard system utilities | |||
== Config basics == | == Config basics == | ||
| Line 8: | Line 16: | ||
apt update | apt update | ||
apt upgrade | apt upgrade | ||
apt install sudo mc nmap powertop fail2ban | apt install sudo mc nmap powertop fail2ban git | ||
apt remove os-prober | |||
</pre> | |||
* sudo visudo | |||
<pre> | <pre> | ||
%sudo ALL=(ALL:ALL) ALL | |||
marcluer ALL=(ALL) NOPASSWD: ALL | |||
</pre> | |||
* /etc/network/interfaces | |||
<pre> | |||
auto lo | |||
iface lo inet loopback | |||
iface enp2s0 inet manual | |||
auto vmbr0 | |||
iface vmbr0 inet manual | |||
address 192.168.111.11/24 | |||
gateway 192.168.111.1 | |||
bridge-ports enp2s0 | |||
bridge-stp off | |||
bridge-fd 0 | |||
</pre> | |||
* /etc/resolv.conf | |||
<pre> | |||
domain local | |||
nameserver 192.168.111.1 | |||
</pre> | |||
* /etc/hosts | * /etc/hosts | ||
<pre> | <pre> | ||
127.0.0.1 localhost | 127.0.0.1 localhost | ||
192.168.111. | 192.168.111.11 homeserver.local homeserver | ||
</pre> | </pre> | ||
== Install proxmox == | == Install proxmox == | ||
* https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_13_Trixie | |||
* https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm | * https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm | ||
[[Category:Linux/Distribution]] | [[Category:Linux/Distribution]] | ||
[[Category:Linux]] | [[Category:Linux]] | ||
Latest revision as of 12:49, 8 October 2025
Why not the Proxmox Installer?
- The Proxmox installer does not allow for manual partitioning and wipes the whole disk
- Debian allows manual partitioning
Installation of Debian
- https://www.debian.org/download.en.html
- AMD64 netinst
- (Non-graphical) Install (Non-expert)
- Only install packages:
- SSH server
- Standard system utilities
Config basics
su apt update apt upgrade apt install sudo mc nmap powertop fail2ban git apt remove os-prober
- sudo visudo
%sudo ALL=(ALL:ALL) ALL marcluer ALL=(ALL) NOPASSWD: ALL
- /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet manual
address 192.168.111.11/24
gateway 192.168.111.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
- /etc/resolv.conf
domain local nameserver 192.168.111.1
- /etc/hosts
127.0.0.1 localhost 192.168.111.11 homeserver.local homeserver