From 291df6cbf841eabf9f26e51c11fb44f840fb9f89 Mon Sep 17 00:00:00 2001 From: wpetit Date: Fri, 17 Jul 2020 09:51:20 +0200 Subject: [PATCH] --- ...-sur-l%27instance-de-d%C3%A9monstration.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 D%C3%A9ployer-sur-l%27instance-de-d%C3%A9monstration.md diff --git a/D%C3%A9ployer-sur-l%27instance-de-d%C3%A9monstration.md b/D%C3%A9ployer-sur-l%27instance-de-d%C3%A9monstration.md new file mode 100644 index 0000000..fb83bb9 --- /dev/null +++ b/D%C3%A9ployer-sur-l%27instance-de-d%C3%A9monstration.md @@ -0,0 +1,25 @@ +# Déployer sur l'instance de démonstration + +URL de l'instance de démo: https://daddy.cadol.es + + +``` +# Lancer un empaquetage +cpkg dev ubuntu bionic + +# Se connecter à la machine de démo +ssh root@192.168.30.157 + +# Mettre à jour le paquet daddy +apt update && apt install daddy + +# Modifier la configuration au besoin +vim /etc/daddy/config.yml +vim /etc/daddy/client-config.yml + +# Appliquer la migration +daddy -config /etc/daddy/config.yml -migrate latest + +# Redémarrer le service +systemctl restart daddy +``` \ No newline at end of file