You are not logged in.
Going straight to the point, the doubts are:
Docs say the GLPI config directory needs write permissions only during installation process. Does this mean I can safely remove all write permissions and leave it "read-only" after installation is finished and begin using GLPI normally?
I'm using httpd configuration just like advised:
https://glpi-install.readthedocs.io/en/ … figuration
But default httpd.conf also has directive "DirectoryIndex index.html".
I don't know how, but this seemed to "redirect" to Apache's test page located in /usr/share/testpage/index.html, because this is what was displayed when browsing to http(s)://<ip_address>, at least before setting up GLPI.
After GLPI installation, then what happens to DirectoryIndex directives?
Finally, as rule of thumb we install servers following the scheme "one partition for system, another partition for data"; which means leaving one partition for root and the other -*larger*- one for /home.
Is it acceptable practice to put GLPI data directories *and* MariaDB database itself somewhere in the /home partition?
Regarding MariaDB database, of course making the due modifications in mariadb-server.cnf and php.ini for the location and socket
Thanks again.
Last edited by bugless (2023-12-07 06:52:55)
Offline
"Docs say the GLPI config directory needs write permissions only during installation process. Does this mean I can safely remove all write permissions and leave it "read-only" after installation is finished and begin using GLPI normally?"
Yes. In fact, 10.0.11 will fix the requirement check for this.
https://github.com/glpi-project/glpi/pull/15772
"But default httpd.conf also has directive "DirectoryIndex index.html"."
The best solution is to use a vhost for GLPI rather than make changes to the Apache configuration file. In Debian/Ubuntu, these vhost configs are in "/etc/apache2/sites-available". The "sites" can then be enabled with "a2ensite glpi" (assuming vhost file was glpi.conf).
"Is it acceptable practice to put GLPI data directories *and* MariaDB database itself somewhere in the /home partition?"
I have no recommendations/feedback about how you partition your data.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline