본문 바로가기

컴터 때찌/Error

[Error-Ubuntu] yum Error: Cannot find a valid baseurl for repo: base

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
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 :
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