6/05/2015

Fedora 22 proxy settings

Yum:
sudo vi /etc/yum.conf

proxy=http://proxy.server.name:port

and if you need:
proxy_username=youruser
proxy_password=yourpassword

(If you define a proxy server in /etc/yum.conf, all users connect to the proxy server.)

dnf:
sudo vi /etc/dnf/dnf.conf
proxy=http://proxy.server.name:port

Yum Extender
Edit
Preferences
Yum
Proxy

Export:
export http_proxy=”http://proxy.server.name:port”
export ftp_proxy=”http://proxy.server.name:port”

No comments:

Post a Comment