Installing silently

JReport provides four script files for installing JReport Enterprise Server silently without user participation in the installation process. They are ServerV9_typical.script for the Typical Installation for Standalone Server type, ServerV9_custom.script for the Custom Installation for Standalone Server type, and ServerV9.script using which you can specify either of the two installation types. You can choose a script file according to your requirements.

Follow the steps below to install JReport Enterprise Server silently:

  1. Download a script file from the Jinfonet website, for example, ServerV9_typical.script.
  2. Some built-in demo report sets (\SampleReports\*.cls) with HSQLDB as the data source (server\db\demo.script) have been provided. At the end of the installation, the installer will configure the report sets and catalog to the correct data path. This calls some AWT classes that require GUI support.

    So, if you have an X server installed, you should set the Display variable so that this step can be performed successfully.

    $ DISPLAY=hostname(or IP address):0.0
    $ export DISPLAY

    Note: If you do not have X server or a pure text environment, this step can be ignored. However, you may find that the demo report sets will not be able to run after you start the JReport Enterprise Server due to having the wrong default data source path. In which case, you can use JReport Designer to publish some working report sets for testing purposes.

  3. Run the following command, and JReport Enterprise Server will be installed in the designated path:

    $ sh EntSvrSetup.sh -options ServerV9_typical.script -silent

Notes: