Re: User friendly proxy configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux