Installation

Installation is done via the install scripts located in the /installer directory.

System Requirements

  • PostgreSQL 16

  • PHP >= 8.1

  • 4 GB RAM

  • 15 GB Disk

  • Tested on Ubuntu 22

Running the Installer

Download the Jasper Report Publisher and unzip:

wget https://github.com/AcuGIS/jasper-report-publisher/releases/download/2.11.0/jasper-report-publisher-2.11.0.zip
unzip -q jasper-report-publisher-2.11.0.zip

Change to the /jasper-report-publisher-2.11.0 directory and run the installers in sequence below:

 cd jasper-report-publisher-2.11.0
./installer/postgres.sh
./installer/app-install.sh
./installer/jri-install.sh
./installer/jri-sample.sh

Optionally, run below to provision SSL using letsencrypt:

apt-get -y install python3-certbot-apache

certbot --apache --agree-tos --email hostmaster@yourdomain.com --no-eff-email -d yourdomain.com

Navigate to https://yourdomain.com/admin/setup.php:

_images/install-1.png

Enter the information for the PostgreSQL database you created:

_images/install-screen-2.png

The installer will create the required objects in PostgreSQL

When the installer completes, you can log in using the email and password you selected above.

_images/install-3.png

Sample Data

If you load the Sample Data, be sure to restart Tomcat when you log in.

You can restart Tomcat via Services on the left menu.

PhantomJS

Printing of GroupedReports requires phantomjs to be installed on your server.