You are not logged in.

#1 2009-03-02 13:16:46

stonecoldjha
Member
Registered: 2009-02-01
Posts: 44

arch doesn't remember my proxy

hi...........whenever i use pacman,i have to manually type the following commands to make it use the proxy:
export http_proxy="http://10.3.100.211:8080"
and
export ftp_proxy="ftp://10.3.100.211:8080"

i have to do this everytime..........isn't there a way to make it store my proxy address and use it everytime without me having to use those export commands?i do that in the root terminal.

Offline

#2 2009-03-02 13:20:12

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: arch doesn't remember my proxy

Put those commands in root's .bashrc


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#3 2009-03-02 14:09:48

stonecoldjha
Member
Registered: 2009-02-01
Posts: 44

Re: arch doesn't remember my proxy

how do i do that?

Offline

#4 2009-03-02 14:30:14

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: arch doesn't remember my proxy

1. Log in as root ( type su and then   enter the root password)
2. Edit root's .bashrc (either using vi or nano. eg: vi .bashrc)
3. Type the lines one at a time:
export http_proxy="http://10.3.100.211:8080"
export ftp_proxy="ftp://10.3.100.211:8080"
4. save and exit.

Hope this helps.

Offline

Board footer

Powered by FluxBB