sudo vim /etc/sudoers

# add below:
Defaults    env_keep += "ftp_proxy http_proxy https_proxy"
Defaults    env_keep += "HOME"
2018-08-17 16:4221