How to set the http_proxy Variable in Windows7/Windows8
The following information will teach you how to allow Windows7/Windows8 system
to use a proxy server to download some external packages/plugins using command
line.
Example: I have used this option to update composer and install packages
in my recent laravel project.
Steps to set the http and https proxy variable
1. Open the command
prompt.
2. Paste following http_proxy
and https_proxy command in cmd
set HTTP_PROXY=http://{{USERNAME}}:{{PASSWORD}}@{{PROXY_URL}}:{{PROT_NUMBER}}
set HTTPS_PROXY=http://{{USERNAME}}:{{PASSWORD}}@{{PROXY_URL}}:{{PROT_NUMBER}}
{{USERNAME}} - Proxy
Username.
{{PASSWORD}} – Proxy Password.
{{PROXY_URL}} – Proxy Url.
{{PORT_NUMBER}} – Proxy Port
Number.
Now your system ready to download resource (packages/plugins) from the
internet using command line.
0 comments:
Post a Comment