CentOS 7 based installation script for Apache Tomcat 9-M18 version + POSTGRESQL 9.2 (as found in the epel repo while writing...subject to change) + PGadmin 5.1-2 (also subject to change)
The Tomcat is started with 1G memory by default which you can change accordingly.
OpenJDK version - 1.8.0_121
Suggestions are always welcome :)