Friday, 17 June 2011

menggunakan wget tanpa setting proxy

jika suatu saat anda mengalami error message pada saat menggunakan wget seperti berikut saat sedang melakukan pendownloadan file installer, misal pada pada saat mengunduh Packet Zlib dari http://zlib.net/zlib-1.2.5.tar.gz:
root@rusfa-laptop:/home/rusfa# wget http://zlib.net/zlib-1.2.5.tar.gz
--2011-06-18 12:14:19--  http://zlib.net/zlib-1.2.5.tar.gz
Resolving alamatproxy... failed: Name or service not known.
wget: unable to resolve host address `alamatproxy'
sementara setting proxy pada /etc/bash.bashrc maupun /etc/apt/apt.conf telah dihilangkan, maka gunakan command berikut : wget --no-proxy http://zlib.net/zlib-1.2.5.tar.gz
root@rusfa-laptop:/home/rusfa# wget --no-proxy http://zlib.net/zlib-1.2.5.tar.gz
--2011-06-18 12:21:02--  http://zlib.net/zlib-1.2.5.tar.gz
Resolving zlib.net... 69.73.181.135
Connecting to zlib.net|69.73.181.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 544640 (532K) [application/x-gzip]
Saving to: `zlib-1.2.5.tar.gz'
 more wget commands? come this way http://www.iagp.net/NClip/Docs/help/WgetArguments.htm.

World Wide Web Get = wget

0 comments:

Post a Comment

thanks for comment :)