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
https://sourceforge.net/projects/jasperserver/files/

wget –progress=bar:force:noscroll -O TIB_js-jrs-cp_7.5.0_linux_x86_64.run https://sourceforge.net/projects/jasperserver/files/JasperServer/JasperReports%20Server%20Community%20edition%207.5.0/TIB_js-jrs-cp_7.5.0_linux_x86_64.run

chmod +x TIB_js-jrs-cp_7.5.0_linux_x86_64.run

./TIB_js-jrs-cp_7.5.0_linux_x86_64.run –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/

./ctlscript.sh 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