LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2013, 05:02 PM   #1
yohey03
LQ Newbie
 
Registered: Sep 2012
Location: Philippines
Distribution: (Servers:Redhat/Centos) (Desktops:Ubuntu and Elementary OS)
Posts: 26

Rep: Reputation: Disabled
Centos 6.3 yum.conf proxy setup


Hi to All,

May I ask for your help to configured yum.conf
proxy?so I can install some packages and dependencies from then Internet Connection.
Our Domain proxy server has a user authentication
(Note:Our Centos 6.3 Server is not connected
to our domain)

I am done with this configuration.

prox=http://proxy-iport#/
proxy_username=username
proxy_password=password


also with this one

proxy=http://proxyusernameassword@proxu-iport#/

all these i found in the Internet Tutorial,
But still cannot make a successful yum install

see errorL below.
Loading mirror speeds from cach hostfile
Could not retrieve mirrorlist http://mirror list.centos.org
4&repo=os error was
14: PYSCURL ERROR 5 "Couldnt resolve proxy 'password@proxy_ip'"
Error:Cannot find a valid base url for repo:base

Is there anyone can help me on this problem,
thank you
Yohey
 
Old 03-05-2013, 10:18 PM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
set

export http_proxy="http://proxyserveriport"


Thanks

Last edited by vishesh; 03-05-2013 at 10:21 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Setup yum repo for CentOS 6 bluforce Linux - Newbie 4 09-10-2012 03:46 PM
Setup proxy server using SSH and use yum edencraze Linux - Networking 6 07-02-2009 07:48 PM
How to setup yum to work under a proxy server. SBN Linux - General 4 05-12-2009 01:40 PM
Centos 5 YUM/Proxy metallica1973 Red Hat 6 01-30-2009 11:53 AM
CentOS 5 / RHEL 5 -- YUM updates through proxy. Rush_898 Red Hat 2 11-29-2008 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration