Total Pageviews

Friday, March 11, 2011

1. Create new Amazon Instance
2. Choose Ubuntu instance (ami-62b6c830)
3. apt-get update 
4. Install Tomcat: sudo apt-get install tomcat6 (refer: https://help.ubuntu.com/9.10/serverguide/C/tomcat.html)
5. configure virtual host: http://www.ex-parrot.com/pete/tomcat-vhost.html
6. Mount S3 (make it mounting as boot time) refer amazon s3 mounting section in this blog.
7.  grant permissions to IP address of "all" tomcat instances which are accessing databases in MySQL servers:

The below two steps are to be performed on MY SQL servers
1. mysql -u root -p
2. GRANT ALL ON <databasename>.* TO root@<private IP of amazon instance> IDENTIFIED BY '<password>';




No comments: