Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
有没有啥简单办法能让Terminal永远自由的使用互联网?
Community Discussion
1305
views ·
3
replies ·
To
floor
Go
wksd
deepin
2019-08-15 05:32
Author
???
现在的方法没开一个新窗口就得输入一条,有点麻烦,
Reply
Like 0
Favorite
View the author
All Replies
lookfor
deepin
2019-08-15 06:10
#1
写到 .bashrc里
Reply
Like 0
View the author
187******09
deepin
2019-08-15 17:46
#2
alias on="export http_proxy=http://127.0.0.1:8118 https_proxy=http://127.0.0.1:8118"
alias off="unset http_proxy https_proxy"
Copy the Code
on 打开,off 关闭。把第一行`alias on=`和双引号都去掉,只保留引号里的东西新开终端就是默认开启的,然后 off 关闭。
至于具体参数,看你自己的配置
Reply
Like 0
View the author
aida
deepin
2019-08-15 18:06
#3
env all_proxy=socks5://127.0.0.1:1234
或者使用proxychains
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Вы настраиваете внешний вид Deepin?
screenshot problem
Error when installing ms edge browser
Как установить xDroid (麟卓卓懿) на Deepin 25
Popular Events
More
现在的方法没开一个新窗口就得输入一条,有点麻烦,