yang-xiaofeng1101 / yang-xiaofeng1101.github.io

杨晓峰的个人博客
1 stars 0 forks source link

给linux终端设置代理 | yangxiaofeng的博客 #13

Open yang-xiaofeng1101 opened 2 years ago

yang-xiaofeng1101 commented 2 years ago

https://xiao_feng_yang993.gitee.io/2020/03/07/linux%E4%B8%8B%E4%B8%BA%E7%BB%88%E7%AB%AF%E8%AE%BE%E7%BD%AE%E4%BB%A3%E7%90%86/

在安装showdsocks的情况下,浏览器就可以正常实现通过代理访问了,但是对于linux用户来说,终端是个常用的工具,如何给终端设置代理让终端也能通过代理进行访问呢? 1. curl,wget这俩是常用的命令,实现代理的方式是 (1)安装polipo1sudo apt-get install polipo (2)配置 polipo1sudo vim /etc/polipo&