You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since GLPI 9.2.2, command line tools are provided as supported scripts and are available from the scripts directory of the archive. On previous versions, those scripts were present in the tools directory that is not official and therefore not in the release archive.
Install
A PHP command line installation script is provided in the GLPI archive (scripts/cliinstall.php).
You have to specify at least a database name and an user:
It is possible to specifiy some variables calling the script:
--host host name (localhost per default),
--db database name,
--user database user name,
--pass database user’s pasword,
--lang language code to use (fr_FR as example). Will be set to en_GB per default,
--tests create tests configuration file,
--force do not check if GLPI is already installed and drop what would exists,
--help displays command help.
Update
An update script is provided as well (scripts/cliupdate.php).
Possible options for this command are:
--lang language code to use (fr_FR as example). Will be set to en_GB per default,
--help displays command help.
--config-dir set configuration file path to use,
--force force update, usefull when GLPI version does not change (mainly when working on it ;)),
--dev required to use a development version. Use it with caution…
This is a good way to create or upgrade.
The text was updated successfully, but these errors were encountered:
FROM diouxx/glpi
RUN sed -i '//usr/sbin/apache2ctl/i\php /var/www/html/glpi/scripts/cliinstall.php --host=$host --db=$db --user=$user --pass=$pass --lang=$lang' /opt/glpi-start.sh
https://glpi-install.readthedocs.io/en/latest/command-line.html#cdline-install
Since GLPI 9.2.2, command line tools are provided as supported scripts and are available from the scripts directory of the archive. On previous versions, those scripts were present in the tools directory that is not official and therefore not in the release archive.
Install
A PHP command line installation script is provided in the GLPI archive (scripts/cliinstall.php).
You have to specify at least a database name and an user:
php scripts/cliinstall.php --db=dbglpi --user=userglpi
It is possible to specifiy some variables calling the script:
Update
An update script is provided as well (scripts/cliupdate.php).
Possible options for this command are:
This is a good way to create or upgrade.
The text was updated successfully, but these errors were encountered: