You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
507 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/etc/profile > /etc/bash.bashrc > ~/.bashrc
所以可以直接设置作用域最大的profile进入终端输入
vi /etc/profile
在最下面添加这里的ip就是上面PC查询到的局域网的lan-ip
export http_proxy=http://10.10.21.20:33210
export https_proxy=http://10.10.21.20:33210
(格式为 export xx_proxy=http://lanip:代理端口 具体代理端口看自己代理的软件下方)
Q:http://10.10.21.20:33210是怎么来的
Edge,设置,搜索 代理