问题
Running
make get-monolite-latest
on my Centos 6.5 server seems to always give me a connection failure. I've seen this for a few days now:
rm -fr /root/mono/mono/mcs/class/lib/monolite-*
mkdir -p /root/mono/mono/mcs/class/lib
test ! -d /root/mono/mono/mcs/class/lib/monolite || test ! -d /root/mono/mono/mcs/class/lib/monolite.old || rm -fr /root/mono/mono/mcs/class/lib/monolite.old
test ! -d /root/mono/mono/mcs/class/lib/monolite || mv -f /root/mono/mono/mcs/class/lib/monolite /root/mono/mono/mcs/class/lib/monolite.old
cd /root/mono/mono/mcs/class/lib && { (wget -O- http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz || curl http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz) | gzip -d | tar xf - ; }
--2014-06-22 15:01:24-- http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz
Resolving storage.bos.xamarin.com... 198.0.162.157
Connecting to storage.bos.xamarin.com|198.0.162.157|:80... failed: Connection timed out.
Retrying.
If I leave it then the connection attempts never succeed.
Can I get this file from another source please?
来源:https://stackoverflow.com/questions/24352023/running-make-get-monolite-latest-connection-to-storage-bos-xamarin-com-never-su