User Tools

Site Tools


glpi:installatie

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
glpi:installatie [2025/11/24 10:52] adminglpi:installatie [2025/12/11 14:19] (current) admin
Line 8: Line 8:
   * werk het OS bij: <code>apt update && apt upgrade -y </code>   * werk het OS bij: <code>apt update && apt upgrade -y </code>
   * installer Apache, MariaDB, PHP, de nodige extenties: <code>   * installer Apache, MariaDB, PHP, de nodige extenties: <code>
-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 </code>+apt install -y apache2 mariadb-server unzip wget php php-bcmath 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 </code> 
 +  * open ''/etc/php/8.2/cli/php.ini''  
 +    * haal onderstaande entry __uit commentaar__:'';cgi.fix_pathinfo=1'' 
 +    * stel tijdzone: ''date.timezone = Europe/Brussels''
   * herstart Apache: <code> systemctl restart apache2 </code>   * herstart Apache: <code> systemctl restart apache2 </code>
   * maak een database  aan voor gLPI: <code>mysql   * maak een database  aan voor gLPI: <code>mysql
Line 21: Line 24:
 chmod -R 755 /var/www/html/glpi</code> chmod -R 755 /var/www/html/glpi</code>
   * maak een virtual host aan op Apache:<code>vi /etc/apache2/sites-available/glpi.conf</code>met onderstaande inhoud:<code><VirtualHost *:80>   * maak een virtual host aan op Apache:<code>vi /etc/apache2/sites-available/glpi.conf</code>met onderstaande inhoud:<code><VirtualHost *:80>
-    ServerName uvmkve-glpi.dmz.lab.local+    ServerName glpi.legoland.net
  
     DocumentRoot /var/www/html/glpi/public     DocumentRoot /var/www/html/glpi/public
  
-    # If you want to place GLPI in a subfolder of your site (e.g. your virtual host is serving multiple applications), +    # If you want to place GLPI in a subfolder of your site (e.g. your virtual host is serving multiple                applications), 
-    # you can use an Alias directive. If you do this, the DocumentRoot directive MUST NOT target the GLPI directory itself.+    # you can use an Alias directive. If you do this, the DocumentRoot directive MUST NOT target the GL               PI directory itself.
     # DocumentRoot /var/www/html     # DocumentRoot /var/www/html
     # Alias "/glpi" "/var/www/glpi/public"     # Alias "/glpi" "/var/www/glpi/public"
Line 46: Line 49:
 </VirtualHost> </VirtualHost>
 </code> </code>
-  * activeer deze host: <code> a2ensite glpi.conf+<bootnote warning>was ook nodig, maar weet niet zeker waarom: <code> rm -f /etc/apache2/sites-available/000-default.conf default-ssl.conf</code></bootnote> 
 +  * activeer deze host: <code>a2ensite glpi.conf
 a2enmod rewrite a2enmod rewrite
-systemctl reload apache2 </code> +systemctl restart apache2 </code> 
-  * open <nowiki>http://<Servernaam>/glpi</nowiki>+  * open <nowiki>http://<Servernaam>/glpi</nowiki> evn doorloop de wizard.
 ===== meer info ===== ===== meer info =====
 [[https://glpi-install.readthedocs.io/en/latest/|gLPI KB]] [[https://glpi-install.readthedocs.io/en/latest/|gLPI KB]]
 {{tag>glpi}} {{tag>glpi}}
  
glpi/installatie.1763981577.txt.gz · Last modified: by admin