fixed postgres install, added nginx