[问题]那位大哥能告诉我,如何设置才能让apt-get通过socks代理更新
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 21
- 注册时间: 2007-03-15 15:12
[问题]那位大哥能告诉我,如何设置才能让apt-get通过socks代理更新
我看了论坛上一些帖子,但是都是讲通过Http代理,没有Socks的,我照着做,还是不能使用apt-get,谁能告诉我,怎么做呀
-
- 帖子: 21
- 注册时间: 2007-03-15 15:12
-
- 帖子: 138
- 注册时间: 2006-06-03 15:41
port
Set an environment variable. Mark each name to be passed to child processes in the environment.
SYNTAX
export [-fn] [-p] [name[=value]]
OPTIONS
-f The names refer to shell functions;
otherwise the names refer to shell variables
-n No longer mark each name for export.
-p Display output in a form that may be reused as input.
If no names are supplied, or if the `-p' option is given, a list of exported names is displayed.
The return status is zero unless an invalid option is supplied, one of the names is not a valid shell variable name, or `-f' is supplied with a name that is not a shell function.
export is a BOURNE shell command and a POSIX `special' builtin.
Example - local variables
old_file=export.csv
new_file=last.csv
mv $old_file $new_file
Example - global variables
mydepartment=Sales ; export mydepartment
mycustomer='Brown Brothers' ; export mycustomer
Set an environment variable. Mark each name to be passed to child processes in the environment.
SYNTAX
export [-fn] [-p] [name[=value]]
OPTIONS
-f The names refer to shell functions;
otherwise the names refer to shell variables
-n No longer mark each name for export.
-p Display output in a form that may be reused as input.
If no names are supplied, or if the `-p' option is given, a list of exported names is displayed.
The return status is zero unless an invalid option is supplied, one of the names is not a valid shell variable name, or `-f' is supplied with a name that is not a shell function.
export is a BOURNE shell command and a POSIX `special' builtin.
Example - local variables
old_file=export.csv
new_file=last.csv
mv $old_file $new_file
Example - global variables
mydepartment=Sales ; export mydepartment
mycustomer='Brown Brothers' ; export mycustomer
-
- 帖子: 251
- 注册时间: 2006-11-10 20:27
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
用 dante 试试看。
具体的资料可以 google
配置好之后使用 socksify command 使用
具体的资料可以 google
配置好之后使用 socksify command 使用
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 21
- 注册时间: 2007-03-15 15:12