Page 1 of 1
[Linux] WAPT server installation via command line
Published: October 12, 2016 - 6:28 PM
by Floflobel
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,
Re: [Linux] WAPT server installation via command line
Published: November 12, 2016 - 9:30 AM
by Benjamin
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