Word smithing on https env variables
This commit is contained in:
parent
d984f8c6df
commit
40645ed7ec
1 changed files with 16 additions and 2 deletions
|
@ -57,8 +57,6 @@ hawk> MY_PROXY_PORT=XXXX # choose same port as above
|
||||||
|
|
||||||
hawk> curl ifconfig.me # timeout, no connection to internet
|
hawk> curl ifconfig.me # timeout, no connection to internet
|
||||||
|
|
||||||
hawk> curl --proxy socks5://localhost:$MY_PROXY_PORT # specify proxy through command line argument
|
|
||||||
|
|
||||||
hawk> export https_proxy=socks5://localhost:$MY_PROXY_PORT # set proxy environment variables
|
hawk> export https_proxy=socks5://localhost:$MY_PROXY_PORT # set proxy environment variables
|
||||||
hawk> export http_proxy=$https_proxy
|
hawk> export http_proxy=$https_proxy
|
||||||
hawk> curl ifconfig.me
|
hawk> curl ifconfig.me
|
||||||
|
@ -68,6 +66,8 @@ hawk> # close terminal to close reverse tunnel when done
|
||||||
|
|
||||||
Most of the other use cases will build on the usage of these environment variables. Therefore we recommend to set them in you `.bashrc`. ==**TODO: do we recommend this?**==
|
Most of the other use cases will build on the usage of these environment variables. Therefore we recommend to set them in you `.bashrc`. ==**TODO: do we recommend this?**==
|
||||||
|
|
||||||
|
Note that some applications will not honour these environment variables. Often the proxy can be provided as a command line argument as for instance `--proxy $https_proxy`.
|
||||||
|
|
||||||
|
|
||||||
## Installing Python packages with pip
|
## Installing Python packages with pip
|
||||||
|
|
||||||
|
@ -185,6 +185,20 @@ Again, we recommend to keep the reverse tunnel open as briefly as possible.
|
||||||
|
|
||||||
## SVN
|
## SVN
|
||||||
|
|
||||||
|
~~Seems to work after setting https/http proxy variables.~~
|
||||||
|
```bash
|
||||||
|
hawk> cat ~/.subversion/servers
|
||||||
|
[groups]
|
||||||
|
testhttps = svn.mplayerhq.hu
|
||||||
|
|
||||||
|
[testhttps]
|
||||||
|
http-proxy-host = localhost
|
||||||
|
http-proxy-port = XXXX
|
||||||
|
|
||||||
|
hawk> svn co https://svn.mplayerhq.hu:/ffmep/trunk
|
||||||
|
hawk> svn co svn://svn.mplayerhq.hu:/ffmep/trunk # times out
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## R
|
## R
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue