[Linux] WAPT server installation via command line

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

October 12, 2016 - 6:28 PM

Good morning,

I am looking to install WAPT via command line without any interface.
I'm mainly talking about this command, which is causing me problems:

Code: Select all

/usr/bin/python /opt/wapt/waptserver/scripts/postconf.py
.

I would like to perform an automated installation using only the command line.

Is it possible to modify only the configuration files?

Thank you,
Benjamin
Messages: 8
Registration: August 25, 2016 - 6:53 PM

November 12, 2016 - 9:30 AM

Good morning,

I am far from being an expert, as I have also only been discovering this tool for a few months.
So what I'm about to say may be incomplete or even impossible, but it's worth a try.

If the server is installed on Debian (it works on other distributions too, but I'm less familiar with them), I think it's possible to do something like this:
  • - Perform an initial manual installation to obtain the desired settings
    - Afterwards "debconf-get-selections | grep tis->/tmp/TIS.debconf"to get the parameters that were passed to debconf in a response file.
    - Set aside in a conference folder/tmp/TIS.debconf" and the file"/opt/wapt/waptserver/waptserver.ini"
    - Next, regarding the installation to be automated:
    • - debconf-set-selections /Conf_Directory/msttcorefonts.debconf
      - apt-get install tis-waptserver tis-waptrepo tis-waptsetup
      - mkdir -p /opt/wapt/waptserver
      - cp /Conf_Directory/waptserver.ini /opt/wapt/waptserver/waptserver.ini
      (the last 2 commands should replace the wizard execution I think)
That's one avenue to explore, but I might be wrong.

@micalement,
Benjamin
Locked