Hi Danny, The reason for the security token is that each download comes with accepting the license agreement. I’m afraid we can’t avoid this..
But if you need to install MarkLogic on a 10-node cluster, you don’t need to fetch 10 security tokens. Just download the latest once, and share it on all 10 nodes.. Personally, I usually download the installer upfront, and put it in /space/software/ on every server on which I need to install it, and then I run my bootstrap scripts.. Kind regards, Geert From: <[email protected]<mailto:[email protected]>> on behalf of Danny Sinang <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, February 23, 2016 at 11:37 AM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] Downloading Marklogic via curl Hi Geert, Are you saying I've no choice but to manually obtain the security token for each download, unless i find a way to automate the clicks and scrape it from the resulting page ? If so, maybe ML should provide an API to make downloading installers easier. Regards, Danny Sent from my iPhone On Feb 23, 2016, at 12:54 AM, Geert Josten <[email protected]<mailto:[email protected]>> wrote: Hi Danny, As you can read here, download urls contain a security token, which will be different each run: http://stackoverflow.com/questions/35442235/marklogic-installation-on-redhat-7 Consider parametrizing your script to pass in the security token (or the entire url), which you copy from the download website at each run. Cheers, Geert From: <[email protected]<mailto:[email protected]>> on behalf of Danny Sinang <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, February 23, 2016 at 3:03 AM To: general <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Downloading Marklogic via curl Hi, I'm writing a script to automate the upgrade of MarkLogic nodes. Part of the automation involves downloading the MarkLogic installer from the ML developer site. However, it appears the only way curl can do the download is via a one-time URL, which is generated by manually logging into the website. Is there a way to get a reusable curl URL (for cases when I need to rerun my automation script) ? Regards, Danny _______________________________________________ General mailing list [email protected]<mailto:[email protected]> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
