Closed jmiranda closed 10 years ago
sudo apt-get install tomcat7 sudo apt-get install tomcat7-admin
Add the following line to /usr/share/tomcat7/bin/setenv.sh to ensure Tomcat has enough memory allocated.
/usr/share/tomcat7/bin/setenv.sh
export CATALINA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=128m"
Add the following lines to the /etc/tomcat7/tomcat-users.xml
/etc/tomcat7/tomcat-users.xml
<role rolename="manager-gui,manager-script"/> <user username="tomcat" password="********" roles="manager-gui,manager-script"/>
sudo apt-get install mysql-server
create database catch default charset utf8; grant all on catch.* to catch@localhost identified by '********';
grails war target/catch.war
Log into the Tomcat manager http://162.242.217.241:8080/manager/html and deploy the generated WAR file to the server.
http://162.242.217.241:8080/manager/html
Installation instructions
Install Tomcat
Configure tomcat
Add the following line to
/usr/share/tomcat7/bin/setenv.sh
to ensure Tomcat has enough memory allocated.Configure tomcat admin user
Add the following lines to the
/etc/tomcat7/tomcat-users.xml
Install MySQL
Create database
Build war file
Deploy WAR to tomcat
Log into the Tomcat manager
http://162.242.217.241:8080/manager/html
and deploy the generated WAR file to the server.