Installing Server on Unix/Linux Manually
This topic describes how you can install Server manually on Unix, Linux, and Linux on IBM Z systems.
The following procedure takes Unix as an example:
- Install Server on Windows, but do not start it.
- Make the following changes to the server:
- Modify javahome and reporthome in report.ini, servlet.properties, and setenv.sh in
<install_root>/bin
to the Unix directories using absolute path, where the Java JDK is located and you are going to copy the server on the Unix system, for example/usr/local/lib/jdk1.8.0
and/opt/LogiReport/Server
. Be sure to modify them carefully. Any mistake will cause problems of starting Logi Report. - Modify javahome in the file env.sh in
<install_root>/derby/bin
to the Unix directory where the Java JDK is located on the Unix system, using absolute path. - Delete the file server.properties from
<install_root>/bin
if it exists and remember to reset the required configuration settings in the Server Console after launching Server on Unix.
- Modify javahome and reporthome in report.ini, servlet.properties, and setenv.sh in
- Make a zip or jar archive for the Logi Report Server on Windows.
- Copy the archive file to your Unix system (use binary format if using FTP).
- Extract the archive to the Unix destination directory in accordance with the report home path you have specified to copy the server, for example
/opt/LogiReport/Server
. - Use the dos2unix command to convert all the .sh files under
/opt/LogiReport/Server/bin
to the format that Unix can recognize. You can execute the command like this:$ dos2unix *.sh
- Use the chmod command to set the converted files under
/opt/LogiReport/Server/bin
to have read, write and execute permission. You can execute the command as follows:$ chmod 777 *.sh
- Start a shell (Console) and log in as root or become the root user by running the su command. Make JRServer.sh executable and then start Logi Report Server by running
./JRServer.sh
.