setup script for nginx & postgresql