Generate pg_hba.conf and install postgresql.conf