
Use those two commands to download and install Postgresql 9.6(first and second command may vary acc. Lastly test the restart Tomcat and enable it for automatic startup with the commands below. Create setenv.sh file under /usr/share/tomcat/bin/ and put those parametersĮxport CATALINA_OPTS="$CATALINA_OPTS -Xms4096m"Įxport CATALINA_OPTS="$CATALINA_OPTS -Xmx8192m"Įxport CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m"Įxport JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8"Įxport CATALINA_OPTS="$CATALINA_OPTS =file:/dev/./urandom" Edit the server.xml file to add URIEncoding="UTF-8" maxThreads="550" into the Connector settings for port 8080 as shown below To complete the Tomcat configuration for FootPrints we need to edit file in the /usr/share/tomcat/conf/ directory. #make sure to use user:root and group:root before reloading daemon and restarting tomcat service. configure Java using command alternatives -config java


Else follow this article to install & configure Java:.
