## Installing on UNIX manually

In some rare cases, JReport Enterprise Server may fail to install on UNIX directly. In this case, follow the steps below to install it manually:

1. Install JReport Enterprise Server on Windows following the steps in section Installing on Windows 2000/XP/2003, but don't start it.
2. Prepare a directory on UNIX where you will copy the installation, for example `/opt/JReport/Server`.
3. Modify javahome and reporthome in the following files to the UNIX directory to which you are going to copy the release. Be sure to modify them carefully. Any mistake may cause problems.

   report.ini
   servlet.properties
   setenv.sh

4. Delete the file server.properties from `<install_root>\bin` if it exists and remember to reset the required configuration settings on the JReport Administration page (8889 as the default port) after launching JReport Server on Unix. The server.properties file is created if you use the custom format to install.
5. Make a zip or jar archive of the above folders, and then copy it to your UNIX system (use binary format if using FTP).
6. Extract the folder in the destination directory in accordance with the path defined in the property files.
7. Use the dos2unix command to convert all the .sh files under <install_root>/bin to the format that can be recognized by Unix. You can execute the command like this:

   `$ dos2unix *.sh`

8. Use the chmod command to set the converted files under <install_root>/bin to have read, write and execute permission. You can execute the command like this:

   `$ chmod 777 *.sh`

9. Start a shell (Console) and login as root or become the root user by running the su command. Make JREntServer.sh executable and then start JReport Enterprise Server by running ./JREntServer.sh.