in reply to Re^2: Problem installing CPAN modules
in thread Problem installing CPAN modules
So now you need to set that variable for the superuser as well. I usually do that by starting a shell as the superuser:
sudo bash export HTTP_PROXY=... ... whatever ... # After leaving the shell, all changes are gone again
You might want to leave it that way for security reasons, so you only consciously pull in a HTTP proxy. If that proxy needs to be used always anyway, you can also modify the .profile of the superuser to set the proxy by editing /root/.profile or /root/.bashrc or even globally for all users by editing /etc/profile or /etc/bashrc or wherever that resides.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem installing CPAN modules
by daverave (Scribe) on Jun 28, 2010 at 09:20 UTC | |
by Corion (Patriarch) on Jun 28, 2010 at 09:24 UTC | |
by daverave (Scribe) on Jun 28, 2010 at 09:30 UTC | |
by Corion (Patriarch) on Jun 28, 2010 at 09:34 UTC | |
by daverave (Scribe) on Jun 28, 2010 at 09:36 UTC | |
|