-
When adding volume, notice what kind the volume is. You can't add NTFS format volume to Linux instance;
-
ssh to ec2 instance:
ssh -i /home/lichao/Documents/lichao-key-pair-us-west-1.pem ec2-user@54.200.25.207
the IP address at the last of above line is retrieved from https://console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances: , then click "Connect" button;
-
copy file from local host to home directory of ec2 instance:
scp -i /home/lichao/Documents/lichao-key-pair-us-west-1.pem build.xml ec2-user@ec2-54-200-25-207.us-west-2.compute.amazonaws.com:~
-
copy file from ec2 instance to local host:
scp -i /home/lichao/Documents/lichao-key-pair-us-west-1.pem ec2-user@ec2-54-200-25-207.us-west-2.compute.amazonaws.com:~/build.xml aaa.xml
-
root password of mysql database: root;
-
wordpress user: lc-wp/zh
-
wordpress home page user:lc, password:zh