yum이 안됨
Error: Cannot find a valid baseurl for repo: base
해결 ->
/etc/yum.conf
proxy=http://프락시서버:포트
http://hi.baidu.com/allinster/blog/item/e01f42f3d18f1edc0a46e00a.html
http://soodiy.com/266
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=10800&forum=37&move=prev&topic_time=1193229371
ps. about apt-get proxy
Error: Cannot find a valid baseurl for repo: base
해결 ->
/etc/yum.conf
proxy=http://프락시서버:포트
http://hi.baidu.com/allinster/blog/item/e01f42f3d18f1edc0a46e00a.html
http://soodiy.com/266
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=10800&forum=37&move=prev&topic_time=1193229371
ps. about apt-get proxy
if you’re using command-line apt-get
Edit your /etc/bash.bashrc file as root.
Put these line at the end of your /etc/bash.bashrc file :
Put these line at the end of your /etc/bash.bashrc file :
export http_proxy=http://username:password@proxyserver.net:port/ export ftp_proxy=http://username:password@proxyserver.netport/
You can omit the username:password, if your proxy server has no password. That’s all for today! Happy apt-get-ing!
debian,ubuntu,knoppix, mepis, apt-get
출처 : http://blog.mypapit.net/2006/02/how-to-use-apt-get-behind-proxy-server-ubuntudebian.html
'컴터 때찌 > Error' 카테고리의 다른 글
[Error-Metasploit] Auxiliary failed: RuntimeError Pcaprub not available (0) | 2011.06.07 |
---|---|
[Error-Windows] 원인을 알 수 없는 문제 때문에 windows에서 windows 방화벽 설정을 열 수 없습니다 (1) | 2011.06.02 |
[python] Try to replace "XXX" by b"XXX" if you are using Python 3.x (0) | 2011.04.19 |
[Error] Leo_Dbg.exe (0) | 2011.04.10 |
[Error-Windows&VisualStudio] XP(SP3) + VS 2003 + WDK Build Error - 처리중 (0) | 2011.02.16 |