How to setup JasperReports Server on Ubuntu in Azure/AWS/GCP
To install JasperReports server community edition on Ubuntu and run on any of the cloud platforms, the best way is to deploy the readily available images in the cloud marketplaces. The images come pre loaded with JasperReports server community edition fully configured with Apache Tomcat & PostgreSQL. Check the links below to deploy to your cloud environment.
Getting Started
Â
Once your JasperReports server has been deployed, the following links explain how to connect to a Linux VM:
Â
- How to connect to a Linux VM on Azure
- How to connect to a Linux VM on AWS
- How to connect to a Linux VM on GCP
Â
Once connected and logged in, the following section explains how to configure JasperReports
Using JasperReportsÂ
Â
Once logged in, you will need to start the services by running the following script:
Â
cd /opt/jasperreports-server-cp-7.5.0
sudo ./ctlscript.sh start
Â
Â
If you would like JasperReports to autostart when you reboot, you will need to install the JasperReports server database and application server as services. To do this there is a script to configure this within the following location:
Â
/opt/jasperreports-server-cp-7.5.0/scripts/linux/jasperserver
Â
Edit the script and set permissions as described in the readme file in the same directory
Â
Logging in
Â
Once the services are running you can login on the following URL:
Â
http://hostname:8080/jasperserver
Â
User: jasperadmin
Pass: jasperadmin
Â
Or you can login using the IP Address instead of hostname
JasperReports Firewall Ports
Â
If you have a firewall on your network/cloud infrastructure or Network Security Group in Azure/AWS/GCP you will need to make sure the following ports are open:
Â
TCP 8080
Â
To setup AWS firewall rules refer to – AWS Security Groups
To setup Azure firewall rules refer to – Azure Network Security Groups
To setup Google GCP firewall rules refer to – Creating GCP Firewalls
Support / Documentation
Â
Documentation on using JasperReports community edition can be found on their website – https://community.jaspersoft.com/documentation?version=59011
Â
If you experience any inssues in the setup of JasperReports server in (Azure/AWS/GCP) please contact us by either leaving a comment below or email us directlyÂ
Â

