Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/xiang_freedom/article/details/91530704
background
- Development boards host computer is connected
- Host can be networked, install the python, pip
step
Start the proxy server on the host
pip install --upgrade proxy.py
proxy.py --hostname 0.0.0.0 --port 8899
- Development Board set up a proxy bash
export http_proxy='http://192.168.0.1:8899'
export https_proxy='https://192.168.0.1:8899'
# 192.168.0.1是主机ip
https://askubuntu.com/questions/583797/how-to-set-a-proxy-for-terminal
-
apt-get proxy settings: https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/
-
Internal networking applications set the proxy: Use proxychains
installation: https://www.jianshu.com/p/19c33988fa32
configuration: http 192.168.0.1 8899