install and monitor postgresql service and configuration