wget下載 sun jdk , 解決 wget 缺陷

基於 wget 重定向問題,我們可以「欺騙服務器」,即添加一些參數

#wget –no-cookie –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/7u10-b18/jdk-7u10-linux-i586.rpm

然後把下載來的 jdk 改名
#mv jdk-7u7-linux-* jdk-7u10-linux-i586.rpm

截取至:http://www.cnblogs.com/wanghaosoft/archive/2013/01/12/2857411.html

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s