It's possible to install Weave from a console and not have to use the graphical UI.
But, there is one limitation, in that you can't currently determine what's installed.
At the moment the only parts that are installed are:
- The core Weave components
- A Java Runtime Environment
- The Jetty Web Application Server
- The BIRT Report Designer
To do this interactively you need to start the Weave installer with the -console
command line option, e.g.
java -jar weave-installer.jar -console
This will walk you through an interactive installation process.
To automate the installation you need to create a file that contains the settings required for the Weave installer.
The file should contain the following content (with the values changed as appropriate)
INSTALL_PATH=/opt/console jetty.http.port=8080 jetty.https.port=8443 jetty.shutdown.port=8007 osgi.telnet.enable=true osgi.telnet.port=9001
You then start with weave installer with the -options
command line option, e.g. assuming the above values saved in a file called settings.properties
java -jar weave-installer.jar -options settings.properties
This will perform a non-interactive console installation.
A template for the settings file can be created by starting the Weave installer with the -options-template
command line option, just provide the name of the file to generate as the argument to the option.
And ignore the divider
values in the generated file.