LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: Success [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
docker:website [2019/05/15 09:20]
stph.crzt [Généralités]
docker:website [2019/05/18 13:28] (Version actuelle)
stph.crzt [Procédure d'ajout d'un nouveau site web ''example'']
Ligne 1: Ligne 1:
 ====== Ajouter un site web sur le domaine Picasoft ====== ====== Ajouter un site web sur le domaine Picasoft ======
 +
 ===== Sites existants ===== ===== Sites existants =====
 +
   * picasoft.net (dossier website)   * picasoft.net (dossier website)
   * school.picasoft.net   * school.picasoft.net
Ligne 6: Ligne 8:
  
 ===== Généralités ===== ===== Généralités =====
 +
 Les sites sont hébergés sur ''​pica02''​ et propulsé par Ngnix dans un container Docker. Les sites sont hébergés sur ''​pica02''​ et propulsé par Ngnix dans un container Docker.
 +
 +Le lancement d'un nouveau site peut s'​expérimenter sur ''​pica01-test''​
  
 ===== Procédure d'​ajout d'un nouveau site web ''​example''​ ===== ===== Procédure d'​ajout d'un nouveau site web ''​example''​ =====
-  ​* Se connecter à ''​pica02'' ​et ajouter ​un dossier ''​example''​+ 
 +  ​* Se connecter ​à ''​pica01-test''​ ou à ''​pica02''​ 
 +  * Ajouter ​un dossier ''​/​DATA/​docker/​example''​ 
 +  * Donner les droits 775 sur ce dossier (**attention** : il est nécessaire de donner les droits 775 avant de lancer la première fois le container, sinon celui-ci changera les droits et l'​opération ne sera pas réversible sans sudo)
   * Éditer le fichier ''/​DATA/​docker/​docker-compose.yml''​ (cf après)   * Éditer le fichier ''/​DATA/​docker/​docker-compose.yml''​ (cf après)
-  * Lancer le nouveau container ''​docker-compose up -d radio''​+  * Lancer le nouveau container ''​docker-compose up -d example''​ 
 +  * Les fichiers du site peuvent être déposés dans ''/​DATA/​docker/​example''​ (via ''​scp'',​ ''​rscyn'',​ Filezilla...)
  
 ===== Fichier docker-compose.yml ===== ===== Fichier docker-compose.yml =====
 +
 ``` ```
 ####################​ ####################​
Ligne 30: Ligne 40:
     restart: always     restart: always
 ``` ```
 +
 +===== Ajout du sous domaine example.picasoft.net =====
 +
 +Sur la machine de test, le site sera directement disponible (sous ''​example.test.picasoft.net''​),​ en revanche pour activer ''​example.picasoft.net''​ en production, il faut modifier le fichier de zone DNS.
 +
 +  * Récupérer le fichier ''​db.picasoft.net''​ disponible sur Git : ''​git clone git@gitlab.utc.fr:​picasoft/​projets/​zonefile-picasoft.git .''​
 +  * Faire les modifications (cf après) sur une nouvelle branche : ''​git branch example ; git checkout example''​
 +  * Valider les modifications sur le serveur Git : ''​git add db.picasoft.net ; git commit ; git push''​
 +  * Faire une *merge request* (adressée aux responsables techniques) : https://​gitlab.utc.fr/​picasoft/​projets/​zonefile-picasoft/​merge_requests
 +
 +===== Éditer le fichier de zone =====
 +
 +  * Incrémenter le numéro de version du fichier : cf https://​wiki.picasoft.net/​doku.php?​id=technique:​dns
 +  * Ajouter sous-domaine
 +
 +```
 +  example IN A 91.224.148.60 ;​ Serveur web d'​exemple
 +  example IN AAAA 2a03:​7220:​8080:​3c00::​1 ;​ Serveur web d'​exemple
 +```
 +
 +===== Si l'​image Docker Ngnix est absente de la machine =====
 +
 +  * Demander les accès au registry aux responsables techniques
 +  * Se connecter au registry : ''​docker login registry.picasoft.net''​
 +  * Récupérer l'​image : ''​docker pull registry.picasoft.net/​pica-nginx:​latest''​
LDAP user to find: stph.crzt [auth.php:186]
LDAP Server: ldap://ldap.picasoft.net [auth.php:189]
LDAP Filter: (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:200]
LDAP user search: No such object [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=stph.crzt)(|(authorizedService=wiki)(authorizedService=\2A))) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:211]
  • docker/website.1557912025.txt.gz
  • Dernière modification: 2019/05/15 09:20
  • par stph.crzt