Wednesday, April 1, 2020

How to Download oracle softwares using wget on Linux servers

a. Please install wget utility in  linux server where you want to download. Most of the Linux  flavors will have this installed by default.

b.Please install the add-on  export-cookies-txt  in firefox (for chrome ,Please use cookies.txt)








c. After installing the above add-on ,you can login to OTN,edelivery or MOS with your credentials. Please download any one of the file you want to download and cancel immediately .

d. Save the cookies.txt  as instructed  below.






e.Transfer the cookies.txt  to Linux server.(for example to /root)
f..copy the link location of the files which needs to be downloaded.

g. Please execute the below command to download the necessary files.

wget --load-cookies=/root/cookies.txt https://download.oracle.com/otn/linux/oracle12c/121020/linuxamd64_12102_database_1of2.zip



Note:

1. If you are receiving any errors related to certificate ,please use --no-check-certificate option. and to save a  file under a different name, pass the -O option followed by the chosen name.

Ex:
wget --load-cookies=/root/cookies.txt https://download.oracle.com/otn/linux/oracle12c/121020/linuxamd64_12102_database_1of2.zip -O jay.zip


2. Sometimes cookies may expire within 30 mins. In this case, you may have to re-initiate the download in browser (and cancel it immediately)  and copy the cookies.txt once again.

3. Optionally (but highly recommended) you can compare the checksum of downloaded files and checksum value in the site to make sure there is no corruption in the files.



[root@jaysv01 ~]#  cksum linuxamd64_12102_database_1of2.zip
839029806 1673544724 linuxamd64_12102_database_1of2.zip

[root@jaysv01 ~]#  cksum linuxamd64_12102_database_2of2.zip
1187131466 1014530602 linuxamd64_12102_database_2of2.zip





1 comment:

How to Compile Forms , Reports & Custom.pll in R12.2

How to Compile Custom.pll   cd $AU_TOP/resource  cp CUSTOM.plx CUSTOM.plx_bkup  cp CUSTOM.pll CUSTOM.pll_bkup  frmcmp_batch module=CUSTOM.pl...