月度归档:2024年06月

用proxy来执行

##
##
wget -e use_proxy=yes -e http_proxy=http://10.10.44.8:6152 -e https_proxy=http://10.10.44.8:6152 http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb
wget -e use_proxy=yes -e http_proxy=http://10.10.44.8:6152 -e https_proxy=http://10.10.44.8:6152 http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb
wget -e use_proxy=yes -e http_proxy=http://10.10.44.8:6152 -e https_proxy=http://10.10.44.8:6152 http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-chromedriver_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb
done < list.txt

pip3 install --proxy=http://10.10.44.8:6152 selenium lxml requests

sudo HTTPS_PROXY=http://10.10.44.8:6152 rpi-update

#临时设置代理并运行单个命令:
http_proxy="http://10.10.44.8:6152" https_proxy="http://10.10.44.8:6152" bash shell.sh


http_proxy="http://10.10.44.8:6152" https_proxy="http://10.10.44.8:6152" curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | http_proxy="http://10.10.44.8:6152" https_proxy="http://10.10.44.8:6152" sh