From 8d583720741d6fffccffdd7c210b4a3a6ecd5a4d Mon Sep 17 00:00:00 2001 From: jf-cbd Date: Thu, 16 Jan 2025 17:13:26 +0100 Subject: [PATCH] Update unattended installation script documentation --- setup/unattended-install/README.md | 54 ++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/setup/unattended-install/README.md b/setup/unattended-install/README.md index bb1a19ebc..d163ac76e 100644 --- a/setup/unattended-install/README.md +++ b/setup/unattended-install/README.md @@ -2,24 +2,72 @@ This script allows to install and update iTop via CLI. -For more information, see the official Wiki : [Automated installation [iTop Documentation]](https://www.itophub.io/wiki/page?id=latest:advancedtopics:automatic_install) +For more information, see the official Wiki : [Automated installation [iTop Documentation]](https://www.itophub.io/wiki/page?id=latest:advancedtopics:automatic_install) +# unattended-install.php + +## Usage + +Execution of the unattended installation +> Note: +> Because the installation runs from the command line, make sure that the current user has enough rights to access the different locations and that the web server will be able to access the files and directories created during the scripted installation. In order to exactly emulate the behavior of +the interactive installation it may be a good practice to run this installation from the user account used for running the web server process. + +Launch the script with the following command: ```bash php unattended_install.php --param-file=fresh-install.xml ``` + +Where: `fresh-install.xml` is the response file containing your desired settings for the installation (there are 4 models available in the folder `xml_setup`: fresh-install.xml, itil-fresh-install.xml, itil-upgrade.xml, upgrade.xml) + +Fresh installation parameters +> Important: +> In the case of a fresh installation (install), do not forget to complete below mandatory parameters before: + +```xml + + + + + + + + + + + +/usr/bin/dot + + + + + + +``` + +## Options + +To get all available options of the script, you can perform the following command : +```php unattended-install.php --help``` + +# install-itop.sh + +## Usage -#install-itop.sh You can install your iTop by only using config-itop.php settings and run either - a non-ITIL iTop fresh installation (use itil-fresh-install.xml to have ITIL modules instead) + ``` ./install-itop.sh ./xml_setup/fresh-install.xml ``` - a non-ITIL iTop upgrade (use itil-upgrade.xml to have ITIL modules instead) + ``` ./install-itop.sh ./xml_setup/upgrade.xml ``` - a specific iTop installation by providing both xml setup file -in below example file provided is the one generated by iTop during last setup. + in below example file provided is the one generated by iTop during last setup. + ``` ./install-itop.sh ../../log/install-2024-04-03.xml ```