Canan

Salut, je suis Canan

Oups ...

N'oubliez jamais que l'impossible est possible

:(


Your PC ran into a problem and needs to restart.
We're just collecting some error info, and then we'll restart for you.


0% complete



QR Code

For more information about this issue and possible fixes, visit
https://www.windows.com/stopcode

If you call a support person, give them this info:
Stop code: SYSTEM_SERVICE_EXCEPTION

Installer h5ai

Installer h5ai

Ubuntu




Étapes

  1. Assurez-vous que votre système est à jour
  2. apt-get update && apt-get upgrade -y
  3. Installation
  4. /!\ Vous avez besoin de PHP et zip installé !
  5. Obtenez la dernière version de H5AI
  6. https://release.larsjung.de/h5ai/
  7. Tout extraire à votre DOC_ROOT/ (c.f.: www/html/)
  8. Configurer
  9. chmod 777 /var/www/html/_h5ai/public/cache
  10. chmod 777 /var/www/html/_h5ai/private/cache
  11. Mettre à jour le fichier "/etc/apache2/apache2.conf" (changer par le vôtre)
  12. > Add or Edit (not remove !) to have following lines :
  13. DirectoryIndex index.html index.php /_h5ai/public/index.php
  14. Mettre à jour le fichier "/var/www/html/_h5ai/private/conf/options.json" (changer par le vôtre)
  15. /!\ Changer le passhash par le vôtre avec le site MD5 hashing !
  16. https://md5hashing.net/hash/sha512
  17. > Modifiez à votre guise et ne créez pas de décalage (dépend de votre serveur)
  18. Ajouter une connexion apache (c.f.: /home)
  19. Mettre à jour le fichier "/etc/apache2/sites-available/000-default.conf" (changer par le vôtre)
  20. > Ajouter ou modifier (ne pas supprimer !) pour avoir les lignes suivantes :
  21. <VirtualHost *:80>
  22. ErrorLog /home/Files/logs/apache_errors.log
  23. CustomLog /home/Files/logs/apache_custom.log combined
  24. RewriteEngine on
  25. # h5ai
  26. ProxyPass /h5ai http://%{HTTP_HOST}:8080/
  27. ProxyPassReverse /h5ai http://%{HTTP_HOST}:8080/
  28. RewriteRule /h5ai[/]?$ http://%{HTTP_HOST}:8080/[R=permanent]
  29. </VirtualHost>
  30. <VirtualHost *:8080>
  31. DocumentRoot /home
  32. ErrorLog /home/Files/logs/apache_errors_alt.log
  33. CustomLog /home/Files/logs/apache_custom_alt.log combined
  34. DirectoryIndex index.html index.php /_h5ai/public/index.php
  35. allow from all
  36. Options None
  37. Require all granted
  38. </VirtualHost>
  39. Mettre à jour le fichier "/etc/apache2/ports.conf" (changer par le vôtre)
  40. > Ajouter ou modifier (ne pas supprimer !) pour avoir les lignes suivantes :
  41. Listen 80
  42. Listen 8080
  43. Zone réglementée (c.f.: /home)
  44. Mettre à jour le fichier "/home/.htacess" (changer par le vôtre)
  45. > Ajouter ou modifier (ne pas supprimer !) pour avoir les lignes suivantes :
  46. # Protection (for developing only)
  47. AuthType Basic
  48. AuthName "Restricted Area"
  49. AuthUserFile "/home/.htpasswd"
  50. Require valid-user
  51. Mettre à jour le fichier "/home/.htpasswd" (changer par le vôtre)
  52. Vous pouvez utiliser les site Htaccesstools pour le remplir
  53. https://www.htaccesstools.com/htpasswd-generator/