1.安装Postgres2.安装JDK3.配置ANT和Tomcat