Installing Silently
Logi JReport provides two files for installing Logi JReport Server silently without user participation in the installation process, which are ServerInstall_typical.properties for the Typical Installation for Standalone Server type and ServerInstall_custom.properties for the Custom Installation for Standalone Server type.
Follow the steps below to install Logi JReport Server silently:
- Copy the appropriate file from
<install_root>\help\samples\SilentInstall
to the directory where the Logi JReport Server installation file is saved and edit it to suit your requirements. - Some built-in demo reports (\*.cls) with Derby as the data source (install_root\db\SampleDB.script) have been provided. At the end of the installation, the installer will configure the reports 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 DISPLAYNote: If you do not have X server or a pure text environment, this step can be ignored. However, you may find that the demo reports will not be able to run after you start the Logi JReport Server due to having the wrong default data source path. In this case, you can use Logi JReport Designer to publish some working reports for testing purposes.
- Run the following command, and Logi JReport Server will be installed in the designated path:
$ ./jrserver-xxx-linux.bin -i silent -f ServerInstall_typical.properties
(change jrserver-xxx-linux.bin to the real file name of the installation file)
Notes:
- When installing Logi JReport Server silently, make sure you do not use upgrade installation, it is not supported for now.
- When you install the Update or Service Pack silently, edit the file update.properties in
<install_root>\help\samples\SilentInstall
to your own requirements. This file is used to create an option file (that is, response file) for the Installation Wizard. It predefines all the information that is required for the installation.You can also create a property file and save it as follows:
USER_INSTALL_DIR=/usr/local/Logi JReport/Server
USER_KEY=UID
USER_PASSWORD=PasswordModify the above lines according to your own environment and configurations.