Saturday, February 26, 2011

Setup Amazon linux for Grails

Install mysql

yum install mysql mysql-server mysql-libs
service mysqld start
chkconfig --levels 235 mysqld on
mysql_secure_installation



Install apache

sudo yum install httpd httpd-devel

add /etc/httpd/conf.d/proxy_ajp.conf

With this in it:

<Ifmodule mod_proxy_ajp.c>
ProxyRequests On
ProxyVia On

<Location />
Order allow,deny
Allow from all
ProxyPass ajp://localhost:8009/
ProxyPassReverse ajp://localhost:8009/
</Location>

</Ifmodule>

1 comment:

Davies Hall said...

Great post, I enjoyed ready reading it, Keep posting good stuff like this.
online masters samples