Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Performing a console based installation

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

...

Note you will need to use Java 8 to run the installers.


To do this interactively you need to start the Weave installer with the -console command line option, e.g.


Code Block

java -jar weave-installer.jar -console

...

This will walk you through an interactive installation process.

Automating the installation


To create an automated installation run the installer GUI and on the last screen save an installation script then edit that and use it on subsequent runs of the installer. It is not currently possible to create the installation script when performing a console install.

Warning

The following appears to no longer be correct

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)

Code Block

INSTALL_PATH=/opt/console
jetty.http.port=8080
jetty.https.port=8443
jetty.shutdown.port=8007
osgi.telnet.enable=true
osgi.telnet.port=9001

Image Added



Using the Generate an automatic installation script button will ask you where you want to save the script, which is an xml file that can be edited to tweak the options used during subsequent installations.


You then start with weave installer with the -options location of the xml file you just saved on the command line option, e.g. assuming the above values saved in a file called settingsinstall.propertiesxml


Code Block

java -jar weave-installer.jar -options settings.propertiesinstall.xml


This will perform a non-interactive console installation.

...

.