The OP was talking about running a centralized proxy. Put this in /etc/profile or /etc/inputrc (can't remember which)
per machine.
Sorry not to have spelled it out.
Bill
On 11/18/2014 4:22 AM, Cameron Simpson wrote:
On 18Nov2014 02:31, Bill Shirley <bshirley@xxxxxxxxxxxxxxxxx> wrote:
You can put this in your ~/.bashrc:
export http_proxy="http://127.0.0.1:3128"
export ftp_proxy="ftp://127.0.0.1:3128"
They both need to be "http://127.0.0.1:3128/"; the proxy protocol is HTTP, hence the same scheme for each. Also
https_proxy. Of course, adjusted for whatever is correct.
I'm not sure how many utilities use it but I think wget does.
Quite a few.
However, the point of the OP was to set this at a system level as a default for many machines, so the .bashrc is
pretty much the worst place to want to put this, being a per-user setting (and only for those using bash, and only for
settings where that is involved in invoking applications).
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
I thought back to other headaches from my past and sneered at their
ineffectiveness. - Harry Harrison
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org