Create the instance in aws – centos – allow 8080 port if you want default port or use https

login using ssh using centos@ and change into root using sudo su

yum update

vi /etc/selinux/config

disable selinux

sudo reboot

check the status using $ sestatus
check the file path before downloading the jasperserver

wget –progress=bar:force:noscroll -O

chmod +x

./ –mode unattended –jasperLicenseAccepted yes –postgres_password dbpassword –prefix /opt/jasperreports-server-cp-7.5.0

This will take more time, please wait for minimum 15 to 20 mins based on your server confiration

cd /opt/jasperreports-server-cp-7.5.0/

./ start

To change the port, edit the below file and replace 8080 with 80
vi /opt/jasperreports-server-cp-7.5.0/apache-tomcat/conf/server.xml