1# Configuring the Proxy 2 3 4### Configuring the Python Proxy 5 61. Create a proxy configuration file. 7 8 ``` 9 mkdir ~/.pipvim ~/.pip/pip.conf 10 ``` 11 122. Add the following proxy information to the file, save the file, and exit: 13 14 ``` 15 [global] 16 index-url = http://Proxy URL 17 trusted-host = Trusted image path 18 timeout = 120 19 ``` 20 21 22### Configuring the npm Proxy 23 241. Create a proxy configuration file. 25 26 ``` 27 vim ~/.npmrc 28 ``` 29 302. Add the following proxy information to the file, save the file, and exit: 31 32 ``` 33 Registry=http://Proxy URL 34 strict-ssl=false 35 ``` 36 373. Add the following content to the **.bashrc** file, save the file, and exit: 38 39 ``` 40 export NPM_REGISTRY=http://Proxy URL 41 source .bashrc 42 ``` 43