linux:proxmox-sur-hetzner
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| linux:proxmox-sur-hetzner [2021/10/24 04:58] – créée root | linux:proxmox-sur-hetzner [2024/12/29 19:51] (Version actuelle) – [Installation] root | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | modifier hosts & hostname | + | ====== Hetzner Proxmox |
| - | curl -#o / | + | ===== Installation ===== |
| - | echo "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" | + | - En mode rescue, se connecter en SSH et introduire la commande <code bash> |
| + | - Choisir Other | ||
| + | {{: | ||
| + | - Puis Proxmox Bullseye | ||
| + | {{: | ||
| + | - Dans le fichier de configuration | ||
| + | - Modifier le hostname | ||
| + | - Réaliser une partition de la sorte: < | ||
| + | PART lvm vg0 60G | ||
| + | LV vg0 root | ||
| + | LV vg0 swap swap swap | ||
| + | | ||
| + | | ||
| + | - Installer zfs: <code bash>apt install zfs-dkms zfsutils-linux< | ||
| + | - Créer une nouvelle partition vierge <code bash> | ||
| + | | ||
| - | apt update | + | ===== Réseau en routed ===== |
| - | apt dist-upgrade | + | |
| - | apt purge firmware-bnx2x firmware-realtek firmware-linux-free | + | < |
| - | apt-get install proxmox-ve | + | iface vmbr100 |
| - | + | address 172.31.32.1/ | |
| - | nano / | + | |
| - | + | ||
| - | auto vmbr0 | + | |
| - | #private sub network | + | |
| - | iface vmbr0 inet static | + | |
| - | address | + | |
| bridge-ports none | bridge-ports none | ||
| bridge-stp off | bridge-stp off | ||
| bridge-fd 0 | bridge-fd 0 | ||
| + | post-up | ||
| + | post-down iptables -t nat -D POSTROUTING -s ' | ||
| + | post-up iptables -t nat -A PREROUTING -i vmbr0 -p udp --dport 3389 -j DNAT --to-destination 172.31.32.2: | ||
| + | post-down iptables -t nat -D PREROUTING -i vmbr0 -p udp --dport 3389 -j DNAT --to-destination 172.31.32.2: | ||
| + | post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 3389 -j DNAT --to-destination 172.31.32.2: | ||
| + | post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 3389 -j DNAT --to-destination 172.31.32.2: | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | ===== Connecter un drive hetzner en samba samba ===== | ||
| + | |||
| + | In the Proxmox GUI, create a new Storage with the following config: | ||
| + | |||
| + | ID: Name of your Storage | ||
| + | Server: u301XXX.your-storagebox.de | ||
| + | Username: u301XXX-sub1 | ||
| + | Password: XXX | ||
| + | Share: **u301XXX-sub1** | ||
| + | |||
| + | ===== Forcer les disques à être en GPT ===== | ||
| + | On peut forcer les disques à être en GPT, même si la taille ne le permet pas en rajoutant | ||
| + | " | ||
| - | post-up | + | ===== Sources ===== |
| - | post-up | + | * https://stanislas.blog/2018/04/setup-zfs-pool-debian-hetzner/ |
| - | | + | * https:// |
| - | https:// | ||
| - | https:// | ||
linux/proxmox-sur-hetzner.1635051518.txt.gz · Dernière modification : (modification externe)
