Created
August 23, 2017 21:59
-
-
Save donaldh/268495e892d566dcbfd7102daa603089 to your computer and use it in GitHub Desktop.
Building PNDA mirror behind proxy
This file contains 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
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" |
This file contains 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
<settings> | |
<proxies> | |
<proxy> | |
<id>default</id> | |
<active>true</active> | |
<protocol>http</protocol> | |
<host>proxy</host> | |
<port>80</port> | |
</proxy> | |
</proxies> | |
</settings> |
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
python-carbon seems to get missed when building mirror_rpm
Yes, create_mirror_rpm.sh can completely miss rpms if the versions don't match. For example:
Script continues past this.