Thursday, August 19, 2010

Enable proxy on opensuse 11.3

Configure the proxy in Opensuse to be able to use zypper,Yast . .


To configure proxy open terminal and type this command to edit proxy file
  nano  /etc/sysconfig/proxy

Then add these lines
  PROXY_ENABLED="yes"
  HTTP_PROXY="http://proxyhost:port"
  FTP_PROXY="http://proxy-host.com:port"
  HTTPS_PROXY="http://proxy-host:port"

If  you  are  using a username and  password  for  your  proxy  make the above lines looks like this
  HTTP_PROXY="http://user:password@proxyhost:port"

After adding these file save it
and then exit
and reboot your machine
Yast and zypper are working now behind the proxy.

Njoy :)

No comments:

Post a Comment