Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how to make the zypper use proxy

  1. #1

    Exclamation how to make the zypper use proxy

    the zypper calling aria2c download the file, but the speed is too slow, so, I want to use proxy.
    the aria2 is supported to use proxy ,but I cannot find where is the config file. I want to know how the zypper pass the parameter such as file name file target and anthor option when aria2 is calling by zypper.
    thanks a lot


    my english is very poor

  2. #2

    Default Re: how to make the zypper use proxy

    I think the key is the /etc/zypp/zypp.conf
    but anybody know the grammer of zyyp.conf

  3. #3

    Default Re: how to make the zypper use proxy

    Hi!
    To avoid using of aria2c, you can try to set ZYPP_ARIA2C variable value.
    for example:
    Code:
    export ZYPP_ARIA2C=0
    zypper refresh

  4. #4

    Default Re: how to make the zypper use proxy

    Quote Originally Posted by novsan View Post
    Hi!
    To avoid using of aria2c, you can try to set ZYPP_ARIA2C variable value.
    for example:
    Code:
    export ZYPP_ARIA2C=0
    zypper refresh
    I means make the aria2c use proxy ,so that the speed will be faster .

  5. #5

    Default Re: how to make the zypper use proxy

    Which version of aria2c you use?

  6. #6

    Default Re: how to make the zypper use proxy

    the version is 1.8.3

  7. #7

    Default Re: how to make the zypper use proxy

    I assume that you are using openSUSE 11.2, isn't it?
    Upgrade aria2 package to version 1.9.1 from here: Index of /repositories/network:/utilities/openSUSE_11.2
    Create ~/.aria2/aria2.conf file in your home directory and put your proxy settings there. You'll can read more about settings in aria2.conf with man aria2c or in /usr/share/doc/packages/aria2/aria2c.1.html file, section "HTTP/FTP Options".
    After settings, check aria2c work (download something). If no errors (proxy settings, authorization, etc), then copy ~/.aria2/aria2.conf to /root/.aria2/aria2.conf file.
    Check zypper work.
    If something goes wrong, you can remove aria2.conf file.

  8. #8

    Default Re: how to make the zypper use proxy

    It works
    thank you very much novsan

  9. #9

    Default Re: how to make the zypper use proxy

    I just set the environment varible.

    export http_proxy=http://www.xxxsite.com:xxxport

    Then it is ok.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how to make the zypper use proxy

    On 2011-07-14 03:36, wsysuper wrote:
    >
    > I just set the environment varible.
    >
    > export http_proxy=http://www.xxxsite.com:xxxport
    >
    > Then it is ok.


    Use /etc/sysconfig/proxy.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •