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:
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.
$ sh EntSvrSetup.sh -options ServerV9_typical.script -silent
Notes:
<install_root>\help\server\en\samples to your own requirements. This file is used to create an option file (i.e. response file) for the Installation Wizard. It predefines all the information that is required for the installation.
You can also create a script file and save it as follows:
|
Modify the above lines according to your own environment and configurations.