Jump to content

Debian with Proxmox: Difference between revisions

From Wiki
Marcluer (talk | contribs)
mNo edit summary
Marcluer (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
** AMD64 netinst
** AMD64 netinst
** (Non-graphical) Install (Non-expert)
** (Non-graphical) Install (Non-expert)
** Only install packages:
*** SSH server
*** Standard system utilities


== Config basics ==
== Config basics ==
Line 13: 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>
</pre>


Line 24: Line 28:
* /etc/network/interfaces
* /etc/network/interfaces
<pre>
<pre>
allow-hotplug enp2s0
auto lo
iface enp2s0 inet static
iface lo inet loopback
    address 192.168.111.11/24
 
    gateway 192.168.111.1
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>
</pre>


Line 39: Line 51:
<pre>
<pre>
127.0.0.1      localhost
127.0.0.1      localhost
192.168.111.10 proxmox.local  proxmox
192.168.111.11 homeserver.local  homeserver
</pre>
</pre>



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

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

Install proxmox