posts - 297,  comments - 15,  trackbacks - 0
open up a terminal, and:
sudo gedit /etc/apt/apt.conf
(type in the sudo password)

type this in:
Acquire::http::Proxy "http://username:password@address:8080";

note: you may also need ftp (simply replace the http with ftp and put this line below the http one)

where:
username is your proxy username
password is your proxy password
address is your proxy address

exit this file then type:
cd
gedit .bashrc

then down the bottom of this file type:

export http_proxy=http://username:password@address:8080

exit this file and exit terminal
then go to System -> Preferences -> Network Proxy
select manual proxy configuration
type this in the box:
username:password@address
also select port 8080
click on details and enter username and password.

exit this then go to System -> Administration -> Synaptic Package Manager -> Settings -> Preferences

select the Network tab, then do the same thing you did with the Network Proxy.

There is plenty of details on the web about this, although I ran into this problem and found nothing for a long time. Hope this helps :)
posted on 2010-08-31 09:48 chatler 阅读(967) 评论(0)  编辑 收藏 引用 所属分类: Linux_SysAdmin

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


<2009年12月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(10)

随笔分类(307)

随笔档案(297)

algorithm

Books_Free_Online

C++

database

Linux

Linux shell

linux socket

misce

  • cloudward
  • 感觉这个博客还是不错,虽然做的东西和我不大相关,觉得看看还是有好处的

network

OSS

  • Google Android
  • Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
  • os161 file list

overall

搜索

  •  

最新评论

阅读排行榜

评论排行榜