Composer win10 is unable to install the package solution when the LAN is connected to the Internet through proxy

Time:2021-1-25

Composer win10 is unable to install the package solution when the LAN is connected to the Internet through proxy
Two methods are set according to the situation:

1. Global, set (in the case of strict permission management, use the second method)

  • set http_ Proxy = http: / / proxy address
  • set https_ Proxy = proxy address

2. Set environment variables under current user:
Composer win10 is unable to install the package solution when the LAN is connected to the Internet through proxy

It is recommended to restart the command tool after configuration.

Recommended Today

Redis design and implementation 4: Dictionary Dict

In redis, the dictionary is the infrastructure. Redis database data, expiration time and hash type all take the dictionary as the underlying structure. Structure of dictionary Hashtable The implementation code of hash table is as follows:dict.h/dictht The dictionary of redis is implemented in the form of hash table. typedef struct dictht { //Hash table array, […]