auto-heber:yuno-migration-doku-wiki
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | auto-heber:yuno-migration-doku-wiki [2024/01/28 23:48] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Migration de serveur pour doku-wiki ====== | ||
+ | ===== VPS sur OVH ===== | ||
+ | |||
+ | * Ouverture d'un compte VPS de niveau 1 https:// | ||
+ | * changé le mot de passe pour l' | ||
+ | * installé debian 9 strech | ||
+ | * upgrade et update de debian | ||
+ | * transféré et généré les clés ssh | ||
+ | * installé younohost https:// | ||
+ | * fait la post install | ||
+ | * domaine c pour c.pascot.ca dans cloudflare ainsi que l'IPv6 | ||
+ | * installé le certificat lets' | ||
+ | * installé applications | ||
+ | * installé mc | ||
+ | |||
+ | ====== Migration de serveur pour doku-wiki ====== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Dans yuno-host du rpi j'ai fait dans dohu-wiki un backup complet que j'ai fait télécharger sur ma machine, les droits sont ceux de mon utilisateur sur ma machine suite au transfert | ||
+ | |||
+ | < | ||
+ | d@d-nuc: | ||
+ | total 16 | ||
+ | drwxrwxr-x 2 d d 4096 mai 8 08:45 conf | ||
+ | drwxrwxr-x 7 d d 4096 mai 8 08:45 data | ||
+ | drwxrwxr-x 2 d d 4096 mai 8 08:45 inc | ||
+ | drwxrwxr-x 4 d d 4096 mai 8 08:45 lib | ||
+ | d@d-nuc: | ||
+ | |||
+ | |||
+ | Voici ce le dokuwiki tel qu'il était sur mon serveur rpi (y) (j' | ||
+ | |||
+ | < | ||
+ | root@y:/ | ||
+ | root@y:/ | ||
+ | total 100 | ||
+ | drwxr-xr-x | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | drwxr-x--- 12 dokuwiki__3 root 4096 Jan 18 17:02 data | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x 11 root root 4096 May 3 2018 vendor | ||
+ | -rw-r--r-- | ||
+ | root@y:/ | ||
+ | root@y:/ | ||
+ | total 84 | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- 19 dokuwiki__3 root 4096 Jan 18 17:01 cache | ||
+ | -rw-r----- | ||
+ | -rw-r----- | ||
+ | -rw-r----- | ||
+ | -rw-r----- | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- | ||
+ | drwxr-x--- 11 dokuwiki__3 root 4096 Feb 5 09:02 meta | ||
+ | drwxr-x--- 10 dokuwiki__3 root 4096 Jan 9 20:15 pages | ||
+ | drwxr-x--- | ||
+ | root@y:/ | ||
+ | root@y:/ | ||
+ | total 40 | ||
+ | drwxr-xr-x 2 dokuwiki__3 dokuwiki__3 4096 Jan 9 19:08 accueil | ||
+ | drwxr-xr-x 2 dokuwiki__3 dokuwiki__3 4096 Jan 9 20:14 aquarelle | ||
+ | drwxr-xr-x 3 dokuwiki__3 dokuwiki__3 4096 Jan 9 20:07 galeries | ||
+ | drwxr-x--- 2 dokuwiki__3 root 4096 May 3 2018 playground | ||
+ | drwxr-xr-x 2 dokuwiki__3 dokuwiki__3 4096 Jan 9 19:56 preface | ||
+ | drwxr-xr-x 4 dokuwiki__3 dokuwiki__3 4096 Jan 18 10:59 projets | ||
+ | -rw-r--r-- 1 dokuwiki__3 dokuwiki__3 | ||
+ | drwxr-xr-x 2 dokuwiki__3 dokuwiki__3 4096 Jan 9 20:03 stages | ||
+ | -rw-r--r-- 1 dokuwiki__3 dokuwiki__3 2638 Feb 2 00:01 start.txt | ||
+ | drwxr-x--- 2 dokuwiki__3 root 4096 May 3 2018 wiki | ||
+ | root@y:/ | ||
+ | </ | ||
+ | |||
+ | Et il faut que je le transporte dans le doku-wiki sur le VPS, pour le moment il se présente comme ça | ||
+ | |||
+ | < | ||
+ | root@c:/ | ||
+ | total 100 | ||
+ | drwxr-xr-x | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | drwxr-x--- 12 dokuwiki root 4096 May 3 2018 data | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x | ||
+ | -rw-r--r-- | ||
+ | drwxr-xr-x 11 root | ||
+ | -rw-r--r-- | ||
+ | root@c:/ | ||
+ | </ | ||
+ | |||
+ | ====== en cours : pbs ====== | ||
+ | |||
+ | |||
+ | < | ||
+ | d@d-nuc:~$ rsync -e ssh -v Téléchargements/ | ||
+ | Debian GNU/Linux 9 | ||
+ | admin@c.pascot.ca' | ||
+ | Connection closed by 192.99.42.174 port 22 | ||
+ | rsync: connection unexpectedly closed (0 bytes received so far) [sender] | ||
+ | rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2] | ||
+ | </ | ||
+ | |||
+ | Ouille avec ça j'ai planté le serveur | ||
+ | |||
+ | < | ||
+ | d@d-nuc:~$ rsync -e ssh -v Téléchargements/ | ||
+ | Debian GNU/Linux 9 | ||
+ | admin@c.pascot.ca' | ||
+ | Connection closed by 192.99.42.174 port 22 | ||
+ | rsync: connection unexpectedly closed (0 bytes received so far) [sender] | ||
+ | rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2] | ||
+ | d@d-nuc: | ||
+ | </ | ||
+ | Comme le port 22 ne se libérait pas et que yunohost ne répondait pas au bout d'un quart d' | ||
+ | |||
+ | https:// | ||
+ | https:// |
auto-heber/yuno-migration-doku-wiki.txt · Dernière modification : 2024/01/28 23:48 de 127.0.0.1