glpi:installatie
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| glpi:installatie [2025/11/24 10:17] – [stappenplan] admin | glpi:installatie [2025/12/11 14:19] (current) – admin | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * werk het OS bij: < | * werk het OS bij: < | ||
| * installer Apache, MariaDB, PHP, de nodige extenties: < | * installer Apache, MariaDB, PHP, de nodige extenties: < | ||
| - | apt install -y apache2 mariadb-server unzip wget php php-cli php-common php-curl php-gd php-xml php-mbstring php-ldap php-imap php-intl php-zip php-bz2 php-mysql php-apcu php-xmlrpc php-cas php-ldap php-opcache </ | + | apt install -y apache2 mariadb-server unzip wget php php-bcmath |
| + | * open ''/ | ||
| + | * haal onderstaande entry __uit commentaar__:''; | ||
| + | * stel tijdzone: '' | ||
| * herstart Apache: < | * herstart Apache: < | ||
| * maak een database | * maak een database | ||
| Line 21: | Line 24: | ||
| chmod -R 755 / | chmod -R 755 / | ||
| * maak een virtual host aan op Apache:< | * maak een virtual host aan op Apache:< | ||
| - | ServerName | + | ServerName glpi.legoland.net |
| - | DocumentRoot / | + | |
| - | | + | |
| - | AllowOverride All | + | |
| - | Require all granted | + | |
| - | </Directory> | + | |
| - | | + | |
| - | | + | |
| - | </VirtualHost>< | + | # DocumentRoot |
| - | activeer deze host: < | + | # Alias "/ |
| - | a2enmod rewrite | + | |
| - | systemctl reload apache2 </code> | + | |
| - | * | + | < |
| + | Require all granted | ||
| + | RewriteEngine On | ||
| + | # Ensure authorization headers are passed to PHP. | ||
| + | # Some Apache configurations may filter them and break usage of API, CalDAV, ... | ||
| + | RewriteCond %{HTTP: | ||
| + | RewriteRule .* - [E=HTTP_AUTHORIZATION: | ||
| + | |||
| + | # Redirect all requests to GLPI router, unless file exists. | ||
| + | RewriteCond %{REQUEST_FILENAME} !-f | ||
| + | RewriteRule ^(.*)$ index.php [QSA,L] | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | * activeer deze host: < | ||
| + | a2enmod rewrite | ||
| + | systemctl restart apache2 </ | ||
| + | * open < | ||
| ===== meer info ===== | ===== meer info ===== | ||
| [[https:// | [[https:// | ||
| {{tag> | {{tag> | ||
glpi/installatie.1763979437.txt.gz · Last modified: by admin
