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