[Ubuntu-SG] Global proxy command?
ksc
me_ksc at yahoo.com
Fri Jul 13 09:55:28 UTC 2007
--- "Maung Myat Thu @ Billy Aung Myint"
<billy at ubuntu.sg> wrote:
> On Fri, 2007-07-13 at 11:19 +0800, Mark Philip
> wrote:
> > Hi all,
> > I use my XUbuntu distro in VMWare, and depending
> on where I am, I need
> > to set up the proxy server so that I can access
> outside of my work intranet.
> >
> > This is easy enough whilst using applications such
> as Firefox, but how
> > do I do this via the command line? (i.e. globally)
> >
> > For example, I work in Temasek Polytechnic and the
> proxy server here is
> > tp.edu.sg, port 80.
> > How do I specify this to work from the command
> line, so that 'apt-get'
> > will work?
>
> Must it be from commandline ? If not there is a
> "Network Proxy"
> preference menu at System -> Preference. Hope that
> helps.
>
> regards
> billy
>
> >
> > Thanks for the advance info, - sorry as I'm a
> newbie to XUbuntu.
> > --
> > Best,
> > Mark.
> >
> > Composed using Thunderbird on XUbuntu 7.04,
> > Via VMWare Server on Lenovo T60 hardware.
> >
>
>
> --
> Ubuntu-SG mailing list
> Ubuntu-SG at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-sg
>
If you're trying to use apt-get from command line, you
can add this to your "/etc/apt/apt.conf"
Acquire::http::Proxy
"http://username:passwd@tp.edu.sg:80";
Hope it helps
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
More information about the Ubuntu-SG
mailing list