Results 1 to 4 of 4

Thread: how to configure yum to get through proxy?

  1. #1
    Join Date
    Apr 2009
    Posts
    60

    how to configure yum to get through proxy?

    I've installed Fedora on my computer and i am using Mozilla firefox for accessing proxy server. The problem is yum does not connect to the proxy configuration. Any help will be extremely appreciated.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,522

    Re: how to configure yum to get through proxy?

    To configure YUM software to use proxy use the following command :
    Code:
    http_proxy=proxy:portnum
    
    Then, export the variable:
    
    export http_proxy

  3. #3
    Join Date
    Apr 2008
    Posts
    3,295

    Re: how to configure yum to get through proxy?

    Code:
    su -c 'gedit /etc/yum.conf
    and
    Code:
    [root@unixmen ~]# vi    /etc/bashrc
    Code:
    [root@unixmen ~]# yum   update
    are the most important command use in configuration.yum reads it's proxy info. from /etc/yum.conf ...To enable all yum operations to use a proxy server, you need to declare the proxy server details in /etc/yum.conf. By default, yum accesses network repositories with HTTP. To Using yum with a Proxy Server edit and configure yum.conf to enable update through proxy server.

  4. #4
    Join Date
    Jan 2009
    Posts
    318

    Re: how to configure yum to get through proxy?

    If your proxy server requires a username and password, specify the settings by adding proxy_username and proxy_password settings. however when using yum with yum-rhn-plugin, the RHN part takes over file downloads (due to the complexity of RHN interaction) and that uses the proxy info.

Similar Threads

  1. Howto Configure SQUID Proxy Server / LINUX
    By unix.blackhat in forum Networking & Security
    Replies: 6
    Last Post: 06-10-2011, 03:51 PM
  2. Replies: 6
    Last Post: 18-09-2011, 10:39 PM
  3. Replies: 3
    Last Post: 16-07-2011, 06:02 PM
  4. Replies: 4
    Last Post: 22-05-2011, 06:24 PM
  5. Proxy connection: internal error during proxy evaluation
    By Pandya in forum Software Development
    Replies: 3
    Last Post: 19-08-2009, 02:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,902,345.57516 seconds with 17 queries