meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| xcp-ng:installation_xo_serveurphysique [09/11/2025 18:32] – mdl | xcp-ng:installation_xo_serveurphysique [09/11/2025 18:50] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 46: | Ligne 46: | ||
| In this config file, you can change default ports (80 and 443) for xo-server. If you are running the server as a non-root user, you will need to set the port to 1024 or higher. | In this config file, you can change default ports (80 and 443) for xo-server. If you are running the server as a non-root user, you will need to set the port to 1024 or higher. | ||
| ici nous le faisons tourner sur le 8080 | ici nous le faisons tourner sur le 8080 | ||
| + | |||
| + | root@xoa:~# vi / | ||
| + | |||
| + | [[http.listen]] | ||
| + | [...] | ||
| + | port = 8080 | ||
| + | [...] | ||
| + | |||
| </ | </ | ||
| Ligne 69: | Ligne 77: | ||
| - | * déplacement | + | * déplacement |
| <code bash> | <code bash> | ||
| root@xoa:~# mv / | root@xoa:~# mv / | ||
| root@xoa:~# chown xen-orchestra: | root@xoa:~# chown xen-orchestra: | ||
| + | root@xoa:~# chown xen-orchestra: | ||
| </ | </ | ||
| Ligne 85: | Ligne 94: | ||
| [Service] | [Service] | ||
| + | User=xen-orchestra | ||
| + | Group=xen-orchestra | ||
| Environment=" | Environment=" | ||
| Restart=always | Restart=always | ||
| Ligne 135: | Ligne 146: | ||
| - | ajout des NTP | + | * ajout des NTP |
| + | <code bash> | ||
| # This file is part of systemd. | # This file is part of systemd. | ||
| # | # | ||
| Ligne 163: | Ligne 174: | ||
| ConnectionRetrySec=30 | ConnectionRetrySec=30 | ||
| SaveIntervalSec=60 | SaveIntervalSec=60 | ||
| + | </ | ||
| + | |||
| + | |||
| + | * redémarrage du daemon | ||
| + | <code bash> | ||
| + | root@xoa:~# systemctl restart systemd-timesyncd | ||
| + | </ | ||
| + | |||
| + | * forçage en NTP | ||
| + | <code bash> | ||
| + | root@xoa:~# timedatectl set-ntp true | ||
| + | </ | ||
| + | |||
| + | |||
| + | * status final | ||
| + | <code bash> | ||
| + | root@xoa:~# timedatectl | ||
| + | Local time: dim. 2025-11-09 19:37:30 CET | ||
| + | | ||
| + | RTC time: dim. 2025-11-09 18:37:30 | ||
| + | Time zone: Europe/ | ||
| + | System clock synchronized: | ||
| + | NTP service: active | ||
| + | RTC in local TZ: no | ||
| + | |||
| </ | </ | ||