See the original page here: this is how to add a http proxy to OpenSUSE so that the zypper command will work correctly: http://www.securitronlinux.com/opensuse-12-3-tips-and-tricks-for-using-your-new-linux-system/#proxy.
Just add these lines to the /etc/sysconfig/proxy and then save and you should now be able to install software packages through the proxy with no problems.
PROXY_ENABLED="yes" ## Type: string ## Default: "" # # Some programs (e.g. lynx, arena and wget) support proxies, if set in # the environment. # Example: HTTP_PROXY="http://proxy.provider.de:3128/" HTTP_PROXY="John.smith:[email protected]" ## Type: string ## Default: "" # # Some programs (e.g. lynx, arena and wget) support proxies, if set in # the environment. # This setting is for https connections HTTPS_PROXY="John.smith:[email protected]" |
1 thought on “How to enable the HTTP proxy in OpenSuse 12.3.”