fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ env|grep -i proxy
HTTP_PROXY=http:// 127.0.0.1:7890/
https_proxy=http:// 127.0.0.1:7890/
http_proxy=http:// 127.0.0.1:7890/
ALL_PROXY=socks:// 127.0.0.1:7891/
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
HTTPS_PROXY=http:// 127.0.0.1:7890/
all_proxy=socks:// 127.0.0.1:7891/
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ vim /etc/profile
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export HTTP_PROXY="http://127.0.0.1:7890/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export https_proxy="http://127.0.0.1:7890/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export http_proxy="http:// 127.0.0.1:7890/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export ALL_PROXY="socks://127.0.0.1:7891/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export HTTPS_PROXY="http://127.0.0.1:7890/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ export all_proxy="socks://127.0.0.1:7891/"
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ env|grep -i proxy
HTTP_PROXY=http://127.0.0.1:7890/
https_proxy=http://127.0.0.1:7890/
http_proxy=http:// 127.0.0.1:7890/
ALL_PROXY=socks://127.0.0.1:7891/
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
HTTPS_PROXY=http://127.0.0.1:7890/
all_proxy=socks://127.0.0.1:7891/
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ cd
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ cd PX4-Autopilot-
PX4-Autopilot-01-12/ PX4-Autopilot-NEW/
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ cd PX4-Autopilot-
PX4-Autopilot-01-12/ PX4-Autopilot-NEW/
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~$ cd PX4-Autopilot-NEW/
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ ls
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ git clone -b v1.12.1 git@github.com:PX4/PX4-Autopilot.git
Cloning into 'PX4-Autopilot'...
^C
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ git clone -b v1.12.1 https://github.com/PX4/PX4-Autopilot.git
Cloning into 'PX4-Autopilot'...
fatal: unable to access 'https://github.com/PX4/PX4-Autopilot.git/': Failed to connect to 127.0.0.1 port 7890: Connection refused
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset https_proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset https_proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset http_proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset ALL_PROXY
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset HTTPS_PROXY
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset all_proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ env | grep -i proxy
HTTP_PROXY=http://127.0.0.1:7890/
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset HTTP_PROXY
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ env | grep -i proxy
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset no_proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ unset NO_PROXY
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ env | grep -i proxy
fengxuewei@fengxuewei-Legion-Y7000-2019-PG0:~/PX4-Autopilot-NEW$ git clone -b v1.12.1 https://github.com/PX4/PX4-Autopilot.git
Cloning into 'PX4-Autopilot'...
|