set proxy for app-get



The easy way is

 $export http_proxy=http://xxx.xxx.xxx.xxx:xxxx 

if not work, try

$sudo http_proxy=http://xxx.xxx.xxx.xxx:xxxx apt-get update

http:// shall not be missed, otherwise you will encounter below errors :

Cannot initiate the connection to 8080:80 (0.0.31.144).

 

No comments:

Post a Comment

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...