Hi, how do I force the script to use system's proxy server?
I ran "export http_proxy=xxx" in terminal, checked by "wget www.google.com" that it was properly working and then ran the script (from same terminal) which hangs on retrieving PM's files.
I am new to Linux so maybe I am doing it wrong?
pminstaller.sh and proxy
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Re: pminstaller.sh and proxy
Hi,
The problem is that sudo doesn't inherit your http_proxy environment variable. It's not the script's fault as such.
To fix:
"sudo visudo"
find the section with a bunch of
and add this to the end:
and save and exit (esc, :wq).
then, do export http_proxy="http://yourproxy:port"; ./pminstaller.sh
and you should be golden!
hth.
The problem is that sudo doesn't inherit your http_proxy environment variable. It's not the script's fault as such.
To fix:
"sudo visudo"
find the section with a bunch of
Code: Select all
Defaults env_keep += "blablabla"
Code: Select all
Defaults env_keep += "http_proxy"
then, do export http_proxy="http://yourproxy:port"; ./pminstaller.sh
and you should be golden!
hth.