wget command getting timed out – while trying to update rpm for oracle on linux server


Wget timed out usually indicates that you’re using an HTTP proxy to access the outside world. If so, you will need to configure the http_proxy environment variable for wget to use the same proxy. Add the below settings and it should resolve the issue.

export http_proxy=http://server-ip:port/
E.g: export http_proxy=http://101.10.19.27:8080

This should fix the wget time out issue.

Note: similarly you can do this for ftp_proxy as well.

Advertisements

Leave a comment

Filed under Linux, Oracle

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s