From b2cabb4ed6dd5542e08ff976ee80a87d44775633 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Tue, 26 Oct 2021 15:38:54 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'services/viso.libr?= =?UTF-8?q?e-service.eu.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/viso.libre-service.eu.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/services/viso.libre-service.eu.md b/services/viso.libre-service.eu.md index 17180f1..be1e64d 100644 --- a/services/viso.libre-service.eu.md +++ b/services/viso.libre-service.eu.md @@ -30,4 +30,22 @@ systemctl reload apache2.service TODO -## TODO \ No newline at end of file +## Hostname +Généraliser le FQDN : +``` +hostnamectl set-hostname visio.libre-service.eu +``` + +Modifier le fichier `/etc/hosts` : +``` +- 127.0.1.1 visio.libre-service.eu visio ++ 127.0.1.1 visio ++ 145.239.49.4 visio.libre-service.eu +``` + +Tester : +``` +ping "$(hostname)" +PING visio.libre-service.eu (145.239.49.4) 56(84) bytes of data. +64 bytes from visio.libre-service.eu (145.239.49.4): icmp_seq=1 ttl=64 time=0.034 ms +```