install tomcat7 and set CATALINA_BASE