curl -Lo concourse https://github.com/concourse/concourse/releases/download/v2.5.0/concourse_darwin_amd64 && chmod +x concourse && mv concourse /usr/local/bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| export PIVNET_TOKEN=GET_FROM_PIVNET_USER_PROFILE_PAGE | |
| export LOCAL_FILE_NAME=pcf-mysql.pivotal | |
| export DOWNLOAD_URL=https://network.pivotal.io/api/v2/products/p-mysql/releases/211/product_files/1755/download | |
| export OPSMGR_HOST=localhost | |
| export OPSMGR_USER=WHATEVER_YOUR_OPSMGR_USER_IS | |
| export OPSMGR_PASSWORD=WHATEVER_YOUR_OPSMGR_PASSWORD_IS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
| ### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
| ### You can download all the binaries one-shot by just giving the BASE_URL. | |
| ### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
| ### Script is updated for every JDK release. | |
| ### Features:- | |
| # 1. Resumes a broken / interrupted [previous] download, if any. | |
| # 2. Renames the file to a proper name with including platform info. |