From f313df47ef4a53bf7cf2fbc40d32c6be0c0745ae Mon Sep 17 00:00:00 2001 From: Charlene Auger Date: Mon, 17 Apr 2023 11:08:38 +0200 Subject: [PATCH 1/2] Add setup answers doc --- .../Setting-up-a-OCS-Inventory-Server.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md b/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md index b324da0..e342052 100644 --- a/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md +++ b/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md @@ -128,12 +128,22 @@ Already the web communication server requires mysql dependencies if you choose t Open my.cnf and ensure there is no line “skip-innodb” or this line is commented (begins with ‘#’).`** -Download latest version of server tarball “OCSNG_UNIX_SERVER-2.4.x.tar.gz” from OCS Inventory Web Site. +Download latest version of server tarball “OCSNG_UNIX_SERVER-2.11.x.tar.gz” from OCS Inventory Web Site. Unpack it. - tar –xvzf OCSNG_UNIX_SERVER-2.4.x.tar.gz - cd OCSNG_UNIX_SERVER-2.4.x + tar –xvzf OCSNG_UNIX_SERVER-2.11.x.tar.gz + cd OCSNG_UNIX_SERVER-2.11.x + +Since 2.12.x, it is possible to provide a `setup.answers` file with default configuration. + +You will find a default `setup.answers` file at the root of the `OCSNG_UNIX_SERVER-2.11.x` folder. + +You can also create your own `setup.answers` file like this: + + echo 'OCS_DB_HOST=localhost' > setup.answers + +The responses from the file will override the default choices in the `setup.sh` file. Run “setup.sh” installer. During the installer, default choice is presented between []. For example, [y]/n means that “y” (yes) is the default choice, and “n” (no) is the other choice. From 480aeeec050b65f2c4df5b7dfef3b12a3c7d2f9e Mon Sep 17 00:00:00 2001 From: Lea9250 Date: Fri, 18 Aug 2023 15:52:24 +0200 Subject: [PATCH 2/2] refactor: update version to 2.12.x --- .../Setting-up-a-OCS-Inventory-Server.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md b/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md index e342052..8f34f3f 100644 --- a/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md +++ b/english/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server.md @@ -128,16 +128,16 @@ Already the web communication server requires mysql dependencies if you choose t Open my.cnf and ensure there is no line “skip-innodb” or this line is commented (begins with ‘#’).`** -Download latest version of server tarball “OCSNG_UNIX_SERVER-2.11.x.tar.gz” from OCS Inventory Web Site. +Download latest version of server tarball “OCSNG_UNIX_SERVER-2.12.x.tar.gz” from OCS Inventory Web Site. Unpack it. - tar –xvzf OCSNG_UNIX_SERVER-2.11.x.tar.gz - cd OCSNG_UNIX_SERVER-2.11.x + tar –xvzf OCSNG_UNIX_SERVER-2.12.x.tar.gz + cd OCSNG_UNIX_SERVER-2.12.x Since 2.12.x, it is possible to provide a `setup.answers` file with default configuration. -You will find a default `setup.answers` file at the root of the `OCSNG_UNIX_SERVER-2.11.x` folder. +You will find a default `setup.answers` file at the root of the `OCSNG_UNIX_SERVER-2.12.x` folder. You can also create your own `setup.answers` file like this: