'proxy'에 해당되는 글 1건

  1. 2012.11.07 CentOS yum 사용시 에러

Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again


이와 같은 에러가 날경우 프록시 서버를 사용하고 있다면


/ect/yum.conf

에 proxy 세팅을 해준다 


(http이후는 사용할 프록시 서버 주소: 포트)

(proxy_username=프록시 유저명, proxy_password=프록시 유저 비밀번호)

게뱔 사용자용 세팅은

# The Web proxy server used by this account
http_proxy="http://mycache.mydomain.com:3128"
export http_proxy


글로벌 사용자용 세팅은

# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
출처: http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

Posted by 미야프
,