My Fedora Linux 30 cant access internet from TERMINAL. How do I access and use dnf command with a web proxy server on a Fedora Linux ?
1 Like
you should configure dnf to use your proxy:
You need to configure the proxy server in /etc/dnf/dnf.conffile as follows:
sudo vi /etc/dnf/dnf.conf
- proxy=http://URL:PORT/ – Proxy server URL to the proxy, You must set a complete URL, including the TCP port number.
- proxy_username=YOUR-PROXY-USERNAME-HERE (optional)- Your proxy server username.
- proxy_password=YOUR-SUPER-secrete-PASSWORD-HERE (optional) – Your proxy server password.
if you’re in a bussiness environment consult your IT team…
That’all
Regards.,
2 Likes
sorry for late reply hhlp.
Thanks for your solution
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.