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 阅读(970)
评论(0) 编辑 收藏 引用 所属分类:
Linux_SysAdmin