Commands to run after setting up VM:
Check server info: lscpu
Check memory: free -m
uname -a
vi /etc/redhat-release
sudo passwd - Change root password
Connect to AWS Instance:
1. Use Puttygen to convert private key
2. Use Winscp to upload tomcat
3. Use unzip to unzip the tomcat
4.
Installation:
Test Ports with Telnet:
Open AWS:
ec2-54-183-81-184.us-west-1.compute.amazonaws.com:8080
Install JDK7:
sudo yum install java-1.7.0-openjdk-devel
Setup java_home
Install Telnet:
http://nixcraft.com/showthread.php/12483-Install-Telnet-on-Red-Hat-Enterprise-Linux
Install Mysql Client on EC2:
Desc: This is good to troubleshoot the connectivity between EC2 and RDS
yum install mysql
http://stackoverflow.com/questions/5287220/is-there-a-way-to-only-install-the-mysql-client-linux
Can't connect from EC2 to RDS:
1. It is caused by enviornment configuration in spring, not by network.
1. Install JDK 7 on VM
2. Install Tomcat 7 on VM
3. Setup Load Balancer
4. Setup DNS InformationTest Ports with Telnet:
Open AWS:
ec2-54-183-81-184.us-west-1.compute.amazonaws.com:8080
Install JDK7:
sudo yum install java-1.7.0-openjdk-devel
Setup java_home
Install Telnet:
http://nixcraft.com/showthread.php/12483-Install-Telnet-on-Red-Hat-Enterprise-Linux
Install Mysql Client on EC2:
Desc: This is good to troubleshoot the connectivity between EC2 and RDS
yum install mysql
http://stackoverflow.com/questions/5287220/is-there-a-way-to-only-install-the-mysql-client-linux
Can't connect from EC2 to RDS:
1. It is caused by enviornment configuration in spring, not by network.
No comments:
Post a Comment