slapt-get怎么设置**
时间:2005-09-01
来源:互联网
这种没有图形界面的工具如何设置**
请教
不要叫我看man
我的英语不太好
请帮帮忙吧
请教
不要叫我看man
我的英语不太好
请帮帮忙吧
作者: sumargin 发布时间: 2005-09-01
为什么没人回,是因为这个问题太白痴,大家都不屑回答,还是slap-get根本为支持**
作者: sumargin 发布时间: 2005-09-01
如果是http**就用这个
export http_proxy="http://proxy_ip: proxy_port"
需要用户名密码则:
export http_proxy="username: password@http://proxy_ip: proxy_port"
上面的每次启动一个终端都要重新输入
我不知道把它写进rc.local是不是可行,你可以试试,如果可以就上来告诉大家一声
这个是debian apt-get的方法,如果不行,那就只能man了,呵呵
export http_proxy="http://proxy_ip: proxy_port"
需要用户名密码则:
export http_proxy="username: password@http://proxy_ip: proxy_port"
上面的每次启动一个终端都要重新输入
我不知道把它写进rc.local是不是可行,你可以试试,如果可以就上来告诉大家一声
这个是debian apt-get的方法,如果不行,那就只能man了,呵呵
作者: failsafe 发布时间: 2005-09-01
写进 ~/.bashrc 就可以了。
作者: shadkong 发布时间: 2005-09-01
24. How do I specify proxy settings?
slapt-get takes advantage of the normal http_proxy and ftp_proxy shell
variables. Here are some examples:
# setting the env variables for the entire session
$ export http_proxy=http://host:port
$ export ftp_proxy=ftp://host:port
# just setting them for the current command invocation
$ http_proxy=http://host:port slapt-get --update
If you are using ~/.netrc, libcurl automatically picks up your preferences.
See the netrc(5) manpage for more information.
slapt-get takes advantage of the normal http_proxy and ftp_proxy shell
variables. Here are some examples:
# setting the env variables for the entire session
$ export http_proxy=http://host:port
$ export ftp_proxy=ftp://host:port
# just setting them for the current command invocation
$ http_proxy=http://host:port slapt-get --update
If you are using ~/.netrc, libcurl automatically picks up your preferences.
See the netrc(5) manpage for more information.
作者: fei 发布时间: 2005-09-01
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28