If you have an $http_proxy at your site, where is the proper place to set it, so that things like 'sudo apt-get update' work properly?

Check if it works

First, to test that it's working properly for you, do:

Make it work

Put this in your /etc/sudoers file (via visudo): Maybe that seems strange/insecure? It's widely recommended though: [1] [2]