Http host development board through a proxy server access method

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

https://github.com/abhinavsingh/proxy.py

  • 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

Guess you like

Origin blog.csdn.net/xiang_freedom/article/details/91530704