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> |
Ongoing problems with "audit: backlog limit exceeded" on lab CentOS devices. Now trying "auditctl -b 5000".
Need to remove lines from boostrap-scripts/base.sh for offline installs pypi.org will always fail when offline.
SYN-SENT 0 1 10.142.1.3:45386 151.101.128.223:https
% host pypi.org
pypi.org has address 151.101.0.223
pypi.org has address 151.101.192.223
pypi.org has address 151.101.64.223
pypi.org has address 151.101.128.223
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:
yumdownloader --resolve --archlist=x86_64 --destdir $RPM_REPO_DIR $RPM_PACKAGE_LIST
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.usinternet.com
* epel: mirrors.mit.edu
* extras: repo1.sea.innoscale.net
* updates: repo1.sea.innoscale.net
No Match for argument redis-3.2.3-1.el7
...
Script continues past this.
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
Need to disable boto on GCE. Remove /etc/boto.cfg