How to enable the HTTP proxy in OpenSuse 12.3.

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]"

About Author

John Cartwright
Linux user that loves sharing all kinds of Linux information with the world. I love Linux and sharing information about how to use it and get the best out of your desktop is the best way to give back to the community.

1 Comment

  1. Pingback: Using apt-get over a proxied Internet connection. This is easy. | Securitron Linux blog.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>