- 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
本文详细介绍了如何通过Firefox下载JDK,并使用Export Cookies add-on保存cookies.txt文件,然后利用wget命令加载cookies.txt文件进行下载。同时,指导读者如何使用PuTTY Secure Copy Client将文件安全地传输到Linux实例上。
1422

被折叠的 条评论
为什么被折叠?



