Wednesday, January 26, 2011

ubuntu set system proxy from command line

Using server version of 10.4 beta 2

Need to to set the proxy that the system needs to use

Thanks

  • Depending on your needs you could add

       http_proxy="http://your.proxy.here:3128/"
       https_proxy="http://your.proxy.here:3128/"
       ftp_proxy="http://your.proxy.here:3128/"
    

    to /etc/enviroment to have them set by the login-process.

    cheerio

    thecoshman : would this apply the proxy settings even if no one logs in? Ideally, I don't want to have to arse around on the machine, just to update it or what not.
  • http://studyhat.blogspot.com/2010/01/squid-proxt-server.html

    in place of yum install you can use sudo apt-get install squid then follow the blog!!!

    From Rajat

0 comments:

Post a Comment