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

Thread: Offline Repositories

  1. #1
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Offline Repositories

    I want to create a local mirror of repositories for students at my campus. I want to copy each and everything.

    So tell me what i would need to change in:
    http://www.arsgeek.com/?p=997

    And what specs would i required? is 160GB HD enough? or should i double it?
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  2. #2
    Join Date
    Nov 2007
    Location
    Central Coast, California
    Beans
    1,789

    Re: Offline Repositories

    I don't think you would have to change anything as far as commands go; just don't open it up to the outside world when you're configuring apache.

    I have no idea how big the standard repos are, but I have a feeling they're pretty huge.
    I do not use Ubuntu any more, nor have I ever used Gnome. Therefore, I tend to give advice that is distro- and DE-agnostic, which, while perhaps not the easiest way, will allow you to move freely between machines.

  3. #3
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Offline Repositories

    how much?
    what if i mirror this:

    Code:
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy main restricted
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy universe
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy universe
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy-updates universe
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    # deb-src http://pk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    deb http://archive.canonical.com/ubuntu hardy partner
    deb-src http://archive.canonical.com/ubuntu hardy partner
    
    deb http://security.ubuntu.com/ubuntu hardy-security restricted main
    deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
    deb http://security.ubuntu.com/ubuntu hardy-security universe
    deb-src http://security.ubuntu.com/ubuntu hardy-security universe
    deb http://security.ubuntu.com/ubuntu hardy-security multiverse
    deb http://apt.wicd.net hardy extras
    deb http://packages.medibuntu.org/ hardy free non-free
    deb http://ppa.launchpad.net/corenominal/ubuntu gutsy main
    deb-src http://ppa.launchpad.net/corenominal/ubuntu gutsy main
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb http://viewizard.com/linux debian/
    deb http://pk.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
    deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  4. #4
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Offline Repositories

    have a read at Creating an Ubuntu mirror:

    http://www.ubuntu.com/getubuntu/mirror

  5. #5
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Offline Repositories

    okay, i am using following to mirror:

    Code:
    deb ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
    deb ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
    deb ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    deb ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
    deb ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
    
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
    deb-src ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
    
    deb http://archive.canonical.com/ubuntu hardy partner
    deb-src http://archive.canonical.com/ubuntu hardy partner
    deb http://apt.wicd.net hardy extras
    
    clean ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/
    with the above mirror.lst, i want to update the repositories of my private mirror once a week, how do i do it? cron? or what?
    and what if i create a LVM of 2x160=320GB HD, enough for a while?
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  6. #6
    Join Date
    Nov 2005
    Beans
    1,674
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Offline Repositories

    http://www.ubuntu.com/getubuntu/mirror/2

    Hardware Requirements

    We require that you run a modern unix system and recommend running Ubuntu on your mirror host. It is suggested that you provide HTTP access with apache and ftp access with something like vsftp.

    Providing rsync access to Ubuntu mirror directories on your mirror is also helpful.

    The mirror needs to be located in a secure location reliably connected to the internet. ADSL and cable hosted mirrors will not be considered for becoming an official mirror (however are suitable for a private mirror).
    Bandwidth requirements

    Predicting the bandwidth requirement for becoming a Ubuntu mirror can be difficult. There are number of indicators of bandwidth usage which can be used for a guide.

    Ubuntu users are encouraged to download from Ubuntu mirrors within their own country, so countries with a large population of Ubuntu users have a high bandwidth requirement for hosting a Ubuntu mirror. Conversely, Ubuntu mirrors located in countries with a small Ubuntu user population such as Indonesia will have a very low bandwidth requirement for hosting a Ubuntu mirror.

    A popular Ubuntu mirror located in the United States, which has a high population of Ubuntu users, can expect to use up to 400-500 megabits of bandwidth or more. If your mirror will target a large group it may be important to apply bandwidth restrictions or Quality of Service rules to avoid impacting other systems or services on the network the Ubuntu mirror is hosted on. An Ubuntu mirror located in Indonesia, a country with a smaller Ubuntu population, may see no more than 10 megabits of bandwidth in a peek period.

    Because Ubuntu users are encouraged to download from mirrors within their own country, it is important to consider national bandwidth instead of international bandwidth.

    If you are unsure of the bandwidth requirements of hosting an Ubuntu mirror within your country, contact the Ubuntu mirror team for assistance.
    Disk Space Requirements

    To mirror the Ubuntu archive, you will need 220 gigabytes with room to grow. To mirror the Ubuntu releases you will need about 30 gigabytes. Release disk space is generally constant while archive disk space will continue to grow.

  7. #7
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Offline Repositories

    i read that.....
    but mine would be private, so even if i dont follow requirements, its okay....
    about that 220GB, i just wanted to ask, if it would have any problem incase of LVM?
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  8. #8
    Join Date
    Nov 2005
    Beans
    1,674
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Offline Repositories

    going by

    http://en.wikipedia.org/wiki/Logical...Manager_(Linux)

    ubuntu is quite happy with an lvm setup...

  9. #9
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Offline Repositories

    it's 220 GB now for all releases... one relase is only about 40 gb... I don't think you want all the old releases also, do you?

  10. #10
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Offline Repositories

    nope, i just want to mirror hardy for the time being....
    Also what about my second question? about synchronzing my local private mirror with the universal mirror once a week, how can i do it? cron? how?
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

Page 1 of 2 12 LastLast

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
  •