bglug.it/content/posts/2023-02-22-proxmox-e-nginx-proxy-manager-installazione-e-configurazione-di-un-server-per-offrire-servizi-in-una-rete-scolastica.md
2024-04-09 23:12:57 +02:00

80 lines
9.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 'Proxmox e Nginx Proxy Manager: installazione e configurazione di un server per offrire servizi web in una scuola parte 1'
author: Omar Lazzari
type: post
date: 2023-02-22T22:46:56+00:00
excerpt: Installazione e configurazione di Proxmox per la realizzazione di un server con servizi web utili ad una scuola.
url: /2023/02/22/proxmox-e-nginx-proxy-manager-installazione-e-configurazione-di-un-server-per-offrire-servizi-in-una-rete-scolastica/
featured_image: /wp-content/uploads/2023/02/installazione-scaled.jpg
classic-editor-remember:
- block-editor
categories:
- Documentazione
- Hardware
- News
- Scuola
- Software
tags:
- installazioni
- proxmox
- scuola
---
## Server Dell PowerEdge T 140 {.wp-block-heading}
### Caratteristiche e configurazione iniziale del server {.wp-block-heading}
Le caratteristiche del server su cui verrà installato <a rel="noreferrer noopener" href="https://www.proxmox.com/en/" target="_blank">Proxmox Virtual Environment 7.3</a> sono le seguenti:
<a rel="noreferrer noopener" href="https://www.intel.it/content/www/it/it/products/sku/191036/intel-xeon-e2224-processor-8m-cache-3-40-ghz/specifications.html" target="_blank">Intel Xeon E-2224 3.4G, 8M Cache, 4C/4T, Turbo (71W)</a>
8GB 2666MT/s DDR4 ECC UDIMM
3x 1TB 7.2K RPM SATA 6Gbps 512n 3.5in Cabled Hard Drive
Dopo la formattazione e la configurazione del RAID-5 sui tre dischi e prima dell&#8217;installazione, eseguire l&#8217;aggiornamento dei firmware tramite la funzionalità interna offerta da Dell.<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="576" src="https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-1024x576.jpg" alt="" class="wp-image-2433" srcset="https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-1024x576.jpg 1024w, https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-300x169.jpg 300w, https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-768x432.jpg 768w, https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-1536x864.jpg 1536w, https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-2048x1152.jpg 2048w, https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-640x360.jpg 640w" sizes="(max-width: 1024px) 100vw, 1024px" />][1]<figcaption class="wp-element-caption">Aggiornamenti firmware Dell</figcaption></figure>
Al termine usando una USB-key, per cui consiglio l&#8217;uso di <a rel="noreferrer noopener" href="https://www.ventoy.net/en/index.html" target="_blank">Ventoy</a>, scaricare la <a rel="noreferrer noopener" href="https://www.proxmox.com/en/downloads/category/iso-images-pve" target="_blank">ISO ufficiale</a>, copiarla e avviare l&#8217;installazione.
### Ventoy {.wp-block-heading}
**Ventoy** è un soluzione estremamente comoda per l&#8217;installazione di qualunque distribuzione Linux. Realizza una chiavetta multi-boot partendo dai file .iso copiati al suo interno.<figure class="wp-block-image size-full">
[<img loading="lazy" decoding="async" width="1007" height="757" src="https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en.png" alt="" class="wp-image-2437" srcset="https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en.png 1007w, https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en-300x226.png 300w, https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en-768x577.png 768w, https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en-640x481.png 640w" sizes="(max-width: 1007px) 100vw, 1007px" />][2]<figcaption class="wp-element-caption">Ventoy multiboot usb-key</figcaption></figure>
## Installazione e configurazione iniziale di Proxmox VE {.wp-block-heading}<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="590" src="https://bglug.it/wp-content/uploads/2023/02/installazione-1024x590.jpg" alt="Installazione Proxmox" class="wp-image-2428" srcset="https://bglug.it/wp-content/uploads/2023/02/installazione-1024x590.jpg 1024w, https://bglug.it/wp-content/uploads/2023/02/installazione-300x173.jpg 300w, https://bglug.it/wp-content/uploads/2023/02/installazione-768x442.jpg 768w, https://bglug.it/wp-content/uploads/2023/02/installazione-1536x885.jpg 1536w, https://bglug.it/wp-content/uploads/2023/02/installazione-2048x1180.jpg 2048w, https://bglug.it/wp-content/uploads/2023/02/installazione-640x369.jpg 640w" sizes="(max-width: 1024px) 100vw, 1024px" />][3]<figcaption class="wp-element-caption">Installazione di Proxmox</figcaption></figure>
L&#8217;installazione non richiede molto informazioni. L&#8217;indirizzo di rete e del nome dominio forniti potranno essere modificati anche successivamente. Sarà importante invece, per l&#8217;utente di default **root**, fornire la **password** per l&#8217;accesso alla macchina che avverrà, tramite browser, utilizzando l&#8217;indirizzo locale del tipo **https://IP-address:8006**
### Scelta repository e primo aggiornamento {.wp-block-heading}
Selezionare della sezione dedicata i repository per l&#8217;aggiornamento dei pacchetti.<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="576" src="https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-1024x576.jpg" alt="" class="wp-image-2434" srcset="https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-1024x576.jpg 1024w, https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-300x169.jpg 300w, https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-768x432.jpg 768w, https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-1536x864.jpg 1536w, https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-2048x1152.jpg 2048w, https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-640x360.jpg 640w" sizes="(max-width: 1024px) 100vw, 1024px" />][4]<figcaption class="wp-element-caption">Selezione repository Debian</figcaption></figure>
Utilizzando l&#8217;apposito pulsante o accedendo alla shell della macchina, eseguire il classico aggiornamento `apt update && apt upgrade -y`<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="576" src="https://bglug.it/wp-content/uploads/2023/02/proxmox_update-1024x576.jpg" alt="" class="wp-image-2435" srcset="https://bglug.it/wp-content/uploads/2023/02/proxmox_update-1024x576.jpg 1024w, https://bglug.it/wp-content/uploads/2023/02/proxmox_update-300x169.jpg 300w, https://bglug.it/wp-content/uploads/2023/02/proxmox_update-768x432.jpg 768w, https://bglug.it/wp-content/uploads/2023/02/proxmox_update-1536x864.jpg 1536w, https://bglug.it/wp-content/uploads/2023/02/proxmox_update-2048x1152.jpg 2048w, https://bglug.it/wp-content/uploads/2023/02/proxmox_update-640x360.jpg 640w" sizes="(max-width: 1024px) 100vw, 1024px" />][5]<figcaption class="wp-element-caption">Aggiornamento pacchetti ed upgrade</figcaption></figure>
### Configurazione dei parametri di rete {.wp-block-heading}
Nella sezione riguardante la configurazione delle impostazioni di rete (Linux Bridge) è possibile modificare l&#8217;indirizzo di rete del server. Nella presente configurazione è stata aggiunta una connessione di backup per sfruttare le due porte di rete presenti nel server.<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="479" src="https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network-1024x479.png" alt="" class="wp-image-2445" srcset="https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network-1024x479.png 1024w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network-300x140.png 300w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network-768x359.png 768w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network-640x299.png 640w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network.png 1394w" sizes="(max-width: 1024px) 100vw, 1024px" />][6]<figcaption class="wp-element-caption">Impostazioni di rete di Proxmox VE</figcaption></figure>
<hr class="wp-block-separator has-alpha-channel-opacity" />
[Non perdere il prossimo articolo][7] in cui parleremo di come installare e configurare i container per realizzare una sistema di servizi web.<figure class="wp-block-image size-large">
[<img loading="lazy" decoding="async" width="1024" height="576" src="https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-1024x576.jpg" alt="" class="wp-image-2454" srcset="https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-1024x576.jpg 1024w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-300x169.jpg 300w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-768x432.jpg 768w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-1536x864.jpg 1536w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-2048x1152.jpg 2048w, https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-640x360.jpg 640w" sizes="(max-width: 1024px) 100vw, 1024px" />][8]</figure>
[1]: https://bglug.it/wp-content/uploads/2023/02/dell_aggiornamenti-scaled.jpg
[2]: https://bglug.it/wp-content/uploads/2023/02/screen_uefi_en.png
[3]: https://bglug.it/wp-content/uploads/2023/02/installazione-scaled.jpg
[4]: https://bglug.it/wp-content/uploads/2023/02/proxmox_updaterepo-scaled.jpg
[5]: https://bglug.it/wp-content/uploads/2023/02/proxmox_update-scaled.jpg
[6]: https://bglug.it/wp-content/uploads/2023/02/proxmox-pve-network.png
[7]: https://bglug.it/2023/02/23/proxmox-e-nginx-proxy-manager-installazione-e-configurazione-di-un-server-per-offrire-servizi-web-in-una-scuola-parte-2/
[8]: https://bglug.it/wp-content/uploads/2023/02/proxmox-pc-1-scaled.jpg