Installing on Unix Manually
In rare cases, Logi JReport Server may fail to install on Unix directly. In this case, follow the steps below to install it manually. You can also take the procedure to install Logi JReport Server manually on Linux and Linux on IBM Z systems.
- Install Logi JReport Server on Windows, but don't 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/JReport/Server
. Be sure to modify them carefully. Any mistake will cause problems starting Logi JReport. - 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 Logi JReport Server console after launching the server on Unix.
- Modify javahome and reporthome in report.ini, servlet.properties and setenv.sh in
- Make a zip or jar archive for the Windows Logi JReport Server.
- 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 reporthome path you have specified to copy the server, for example
/opt/JReport/Server
. - Use the dos2unix command to convert all the .sh files under
/opt/JReport/Server/bin
to the format that can be recognized by Unix. You can execute the command like this:$ dos2unix *.sh
- Use the chmod command to set the converted files under
/opt/JReport/Server/bin
to have read, write and execute permission. You can execute the command like this:$ chmod 777 *.sh
- Start a shell (Console) and login as root or become the root user by running the su command. Make JRServer.sh executable and then start Logi JReport Server by running
./JRServer.sh
.