Canan

Hi, I'm Canan

Oups ...

Never forget impossible is 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

Install h5ai

Install h5ai

Ubuntu




Steps

  1. Ensure your system is up to date
  2. apt-get update && apt-get upgrade -y
  3. Installation
  4. /!\ You need PHP and zip installed!
  5. Get lastest release of H5AI
  6. https://release.larsjung.de/h5ai/
  7. Extract all at your DOC_ROOT/ (c.f.: www/html/)
  8. Configure
  9. chmod 777 /var/www/html/_h5ai/public/cache
  10. chmod 777 /var/www/html/_h5ai/private/cache
  11. Update "/etc/apache2/apache2.conf" file (change by yours)
  12. > Add or Edit (not remove !) to have following lines:
  13. DirectoryIndex index.html index.php /_h5ai/public/index.php
  14. Update "/var/www/html/_h5ai/private/conf/options.json" file (change by yours)
  15. /!\ Change the passhash by yours with the MD5 hashing site !
  16. https://md5hashing.net/hash/sha512
  17. > Edit as you want and to not create lag (depends on your server)
  18. Add apache connection (c.f.: /home)
  19. Update "/etc/apache2/sites-available/000-default.conf" file (change by yours)
  20. > Add or Edit (not remove !) to have following lines:
  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. Update "/etc/apache2/ports.conf" file (change by yours)
  40. > Add or Edit (not remove !) to have following lines:
  41. Listen 80
  42. Listen 8080
  43. Restricted Area (c.f.: /home)
  44. Update "/home/.htacess" file (change by yours)
  45. > Add or Edit (not remove !) to have following lines:
  46. # Protection (for developing only)
  47. AuthType Basic
  48. AuthName "Restricted Area"
  49. AuthUserFile "/home/.htpasswd"
  50. Require valid-user
  51. Update "/home/.htpasswd" file (change by yours)
  52. You can use the Htaccesstools site to fill it
  53. https://www.htaccesstools.com/htpasswd-generator/