Commit 6a5d8a9f authored by Reimar Stier's avatar Reimar Stier

update proxy configration notes for powershell

parent 50e7bb67
......@@ -39,9 +39,11 @@ choco install windows\packages\desktop.config
* Configure squid proxy on windows host and change username in configuration file
Copy files\squid.conf C:\Squid\etc\squid\squid.conf
* Restart Squid proxy using windows system service
* Configure vagrant to use the proxy
* Powershell `proxy.ps1`
* Git-Bash `source proxy.sh`
```
source proxy.sh
vagrant plugin install vagrant-proxyconf
vagrant plugin install vagrant-disksize
```
......
* List environment variables
```
Get-Item -Path Env:
```
* Setting variables
```
Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
```
* showing environment variables
```
echo $env:HTTP_PROXY
Get-Item -Path Env:HTTP_PROXY
```
Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
Set-Item -Path Env:HTTPS_PROXY -Value "http://127.0.0.1:3128"
Set-Item -Path Env:VAGRANT_HTTP_PROXY -Value "http://127.0.0.1:3128"
Set-Item -Path Env:VAGRANT_NO_PROXY -Value "127.0.0.1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment