Logo Khaganat
Traductions de cette page?:

Cette page est noté comme étant en brouillon. Votre participation pour l'améliorer est requise !

Ceci est une ancienne révision du document !


Proxmox

Installation

Installer Buster puis

Add an /etc/hosts entry for your IP address

127.0.0.1       localhost.localdomain localhost
Mon.IP   promox.votre.domaine mon_hostname

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/proxmox.list
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg
apt-key add proxmox-ve-release-6.x.gpg
apt update && apt full-upgrade

apt install proxmox-ve postfix open-iscsi

Il faut commenter la version entreprise

nano /etc/apt/sources.list.d/pve-enterprise.list

Il faut configurer les interfaces pour les ponts

nano /etc/network/interfaces
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
      address  195.154.235.28
      netmask  255.255.255.0
      gateway  195.154.235.1
      bridge-ports eno1
      bridge-stp off
      bridge-fd 0

auto vmbr1
iface vmbr1 inet static
      address  10.0.0.1
      netmask  24
      bridge-ports none
      bridge-stp off
      bridge-fd 0

Il faut autoriser le NAT

nano /etc/sysctl.conf
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward=1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

chroot proxmox

Rescue ubuntu de online.net

sudo lvm lvchange -ay /dev/system-uferv/root 
sudo mount /dev/system-uferv/root /mnt/
sudo chroot /mnt/
nano /etc/network/interfaces
exit
sudo umount /mnt/
exit
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
fr/proxmox.1584623392.txt.gz · Dernière modification : 2021/12/03 19:18 (modification externe)

Licences Mentions légales Accueil du site Contact