Welcome to the Linux Foundation Forum!

Local Repository

Hi,

I am using opensuse 11.3,i have to minimise to use of nternet bandwidth so I have configured local repository by using opensuse dvd.now i want to update this local repository by internet in only repository server.so users can get updated packages from local repository..

Please suggest how can i do this.

Comments

  • marc
    marc Posts: 647
    rahul_rajjain@yahoo.co.in wrote:
    Hi,

    I am using opensuse 11.3,i have to minimise to use of nternet bandwidth so I have configured local repository by using opensuse dvd.now i want to update this local repository by internet in only repository server.so users can get updated packages from local repository..

    Please suggest how can i do this.

    I'm not sure I understood what you need.

    If you plan on building a local copy of an already existing repo on internet you have many tools for that:
    wget -m
    
    Is used for mirroring a website/ftpserver
    rsync
    

    Is a tool used for mirroring files as well...

    Regards
  • thanks Marc,

    yes i want to make local copy of repository,which is already exist on opensuse website,and it should be synchronise by Internet repo .

    Can u tell me full command of rsync.
    i used

    rsync -av http://download.opensuse.org/update/11.3/ /srv/www/suse_repo

    my local path is /srv/www/suse_repo
  • marc
    marc Posts: 647
    rahul_rajjain@yahoo.co.in wrote:
    thanks Marc,

    yes i want to make local copy of repository,which is already exist on opensuse website,and it should be synchronise by Internet repo .

    Can u tell me full command of rsync.
    i used

    rsync -av http://download.opensuse.org/update/11.3/ /srv/www/suse_repo

    my local path is /srv/www/suse_repo

    Using rsync is a bit more complicated as you need the website to provide a module for you to rsync. You can check

    http://en.opensuse.org/openSUSE:Mirror_infrastructure

    And use something like
    rsync -rlpt rsync.opensuse.org::opensuse-updates/11.3 /repo
    

    Check the manuals! Or you could try wget as well :)

    Regards

Categories

Upcoming Training