Using RPM with proxy in RHEL


How to use RPM behind the proxy

without username and password:

[yusuf@localhost folder]$ sudo rpm –httpproxy http://127.0.0.1:3128/ –import https://jenkins-ci.org/redhat/jenkins-ci.org.key

Using username and password:

[yusuf@localhost folder]$ sudo rpm –httpproxy http://DOMAIN\user:password@127.0.0.1:8080 –import https://jenkins-ci.org/redhat/jenkins-ci.org.key

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