Proxmox. Proxmox Install over Debian

Материал из Wiki
Перейти к навигации Перейти к поиску

Description

Proxmox Install over Debian

Installation

Debian

Install Debian 10

After installation

nano /etc/ssh/sshd_config

...
PermitRootLogin yes
...

systemctl restart sshd

Bridge util

apt install bridge-utils

Show network interface

ip a

Create bridge

Add LAN IP on the bridge

Add interface ens192 to the bridge

https://mangolassi.it/topic/21764/configuring-network-settings-for-proxmox-installs

nano /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens192
iface ens192 inet manual
auto vmbr0
iface vmbr0 inet static
        address 192.168.199.189
        netmask 255.255.255.0
        gateway 192.168.199.1
        bridge_ports ens192
        bridge_stp off
        bridge_fd 0

- OR -

Dynamic IP on the bridge

nano /etc/network/interfaces

...
auto vmbr0
iface vmbr0 inet dhcp
        bridge_ports ens192
        bridge_stp off
        bridge_fd 0

systemctl restart networking

   - OR -

reboot

Hostname

nano /etc/hostname

pve-test01

nano /etc/hosts

127.0.0.1       localhost.localdomain localhost
192.168.199.189 pve-test01.local pve-test01 pvelocalhost
...

Check hostname

hostname --ip-address

...
192.168.199.189
...

Proxmox VE

Repositories

echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg  # optional, if you have a non-default umask

apt update && apt full-upgrade

apt install proxmox-ve postfix open-iscsi

Recommended: remove the os-prober package The os-prober package scans all the partitions of your host, including those assigned to guests VMs, to create dual-boot GRUB entries. If you didn't install Proxmox VE as dual boot beside another Operating System, you can safely remove the os-prober package.

apt remove os-prober

reboot