AWS

  • Install JDK

You now need additional steps to get the file, as Oracle requires you to accept the licence:

a) Go to download page using Firefox, click accept terms
b) Use Export Cookies add-on, to save a cookies.txt file
c) Upload cookies.txt to your instance
d) Then:
wget --load-cookies cookies.txt -O jdk-6u33-linux-i586-rpm.bin http://download.oracle.com/otn-pub/java/jdk/6u33-b03/jdk-6u33-linux-i586-rpm.bin

If you download the rpm (no .bin) file call:
rpm -Uvh /path/to/binary/jdk-7u5-linux-i586.rpm

  • Transferring Files to Your Linux Instance Using the PuTTY Secure Copy Client

C:\> pscp -i C:\Keys\my-key-pair.ppk C:\Sample_file.txt user_name@public_dns:/usr/local/Sample_file.txt

你可能感兴趣的:(ws)