[indiana-discuss] pkg proxy

Aubrey.Li aubreylee at gmail.com
Fri Sep 5 11:51:20 PDT 2008


On Nov 29, 2007 12:27 AM, Bart Smaalders <bart.smaalders at sun.com> wrote:
>
> Aubrey Li wrote:
> > Hi list,
> >
> > I want to try the new update but I'm behind of a firewall in the office.
> > I have no idea which port pkg is using, but only http and ssh port is
> > permitted on my side.
> > so, pkg proxy is the only way to me. Is there a way to configure a
> > http proxy for pkg?
> >
> > Thanks,
> > -Aubrey
> > _______________________________________________
> > indiana-discuss mailing list
> > indiana-discuss at opensolaris.org
> > http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
> The default port is 80 for this very reason.
>
> Did you try setting http_proxy environment variable?
>
Yes, http_proxy fixed my problem.

it should be

#export http_proxy=http://your.proxy:1234

not,
#export http_proxy=your.proxy:1234.

in case others encounter the same problem as mine.

Thanks,
-Aubrey
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

--
This message posted from opensolaris.org



More information about the indiana-discuss mailing list