glpi:installatie
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| glpi:installatie [2025/11/24 10:04] – created 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 16: | Line 19: | ||
| FLUSH PRIVILEGES; | FLUSH PRIVILEGES; | ||
| EXIT;</ | EXIT;</ | ||
| - | * : download [[https:// | + | * download [[https:// |
| - | * verplaats | + | * pak tar bestand uit: < |
| - | * pak tar bestand uit | + | * pas te toegangsrechten aan voor de webservier gebruiker: < |
| + | chmod -R 755 / | ||
| + | * maak een virtual host aan op Apache:< | ||
| + | ServerName glpi.legoland.net | ||
| + | DocumentRoot / | ||
| + | |||
| + | # If you want to place GLPI in a subfolder of your site (e.g. your virtual host is serving multiple | ||
| + | # you can use an Alias directive. If you do this, the DocumentRoot directive MUST NOT target the GL PI directory itself. | ||
| + | # DocumentRoot / | ||
| + | # Alias "/ | ||
| + | |||
| + | < | ||
| + | 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.1763978689.txt.gz · Last modified: by admin
