Skip to content

Instantly share code, notes, and snippets.

@donaldh
Created August 23, 2017 21:59
Show Gist options
  • Save donaldh/268495e892d566dcbfd7102daa603089 to your computer and use it in GitHub Desktop.
Save donaldh/268495e892d566dcbfd7102daa603089 to your computer and use it in GitHub Desktop.
Building PNDA mirror behind proxy
export http_proxy=http://proxy:80
export https_proxy=http://proxy:80
export JAVA_FLAGS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy -Dhttps.proxyPort=80 -Dhttp.nonProxyHosts=localhost,127.0.0.1,proxy"
export JAVA_OPTS="$JAVA_FLAGS"
export MAVEN_OPTS="$JAVA_FLAGS"
<settings>
<proxies>
<proxy>
<id>default</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy</host>
<port>80</port>
</proxy>
</proxies>
</settings>
@donaldh
Copy link
Author

donaldh commented Sep 4, 2017

As reported by the create_mirror script the create_mirror_rpm script is very problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment