Re: Setting up debian package server for installation over ethernet

From: Alex Malinovich (demonbane_at_the-love-shack.net)
Date: 11/28/03

  • Next message: Arnt Karlsen: "Re: Broken Galeon in Sarge"
    To: debuser <debian-user@lists.debian.org>
    Date: Fri, 28 Nov 2003 04:51:38 -0600
    
    
    

    On Fri, 2003-11-28 at 02:00, Oliver Elphick wrote:
    > On Fri, 2003-11-28 at 07:33, Vikas B N wrote:
    > > Hello All,
    > >
    > > A couple of colleagues and I are planning
    > > to set up an ftp/http server which hosts
    > > the debian packages, so that people can
    > > install Debian on their machines over the
    > > office intranet.
    > >
    > > What is the best way to go about this?
    > >
    > > Things that we are planning are,
    > >
    > > 1.the users should be able to do an
    > > "apt-get update" and the packages
    > > should be fetched/updated from this
    > > server on the intranet.
    > >
    > > 2.users who are migrating from windows
    > > must be able to install Debian on their
    > > machines. (with the use of boot floppy, etc.)
    >
    > If you want to use http, set up your local repository to be served by
    > apache (or boa if you don't need a full-fledged server)
    >
    > Or you can mount the repository through NFS and let apt treat it as
    > local:
    >
    > deb file:/home/debian unstable main contrib non-free

    I'd strongly suggest going the NFS route. Using http and/or ftp will
    cause your clients to actually DOWNLOAD the files to a local directory,
    uncompress them, and then install them. If you access them via an NFS
    mount (this is what I do) then the files are treated as local so they
    are just uncompressed on the fly. Note that it is still good to have an
    ftp or http server in place for installation purposes. AFAIK you have to
    have a pretty much functional system in place before you can do NFS
    mounts, which already puts you past the install phase. This is where an
    ftp server comes in handy. (Again, this is what I do.)

    > > Also, what is the best way to keep this
    > > server up-to-date? Guess, what I'm asking
    > > for is like a mirror of the Debian packages...
    >
    > I use apt-move (the mirror option)

    I wrote my own script for the mirroring operations that uses rsync, but
    unless you only want to mirror sid and your disk space is at a premium
    you're better off with something like apt-move.

    -- 
    Alex Malinovich
    Support Free Software, delete your Windows partition TODAY!
    Encrypted mail preferred. You can get my public key from any of the
    pgp.net keyservers. Key ID: A6D24837
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Arnt Karlsen: "Re: Broken Galeon in Sarge"

    Relevant Pages

    • RE: x server configuration problems
      ... >discover) then try and reconfigure the server again with low priority. ... I managed more or less to install debian ... > My problem is that i cannot change the resolution of my screen.it ... Make sure that you have `discover' installed (apt-get install ...
      (Debian-User)
    • Re: {Disarmed} Re: problems w/ net (http) install
      ... I believe that using NFS, you would want to serve out the ISO and not ... installation and http server base for installation. ... NFS isn't strictly off the table, but the system hosting this install ... Nope the packages aren't big ones, fairly standard, 1MB-ish packages, ...
      (Fedora)
    • Re: NFS
      ... I am trying to setup NFS on my home network. ... Where 192.168.0.3 is the IP of the client computer. ... sudo apt-get install portmap nfs-common ... Where 192.168.0.2 is the IP of the server. ...
      (Ubuntu)
    • Re: Newbie partitioning question
      ... You should run both a SAMBA server and an NFS server. ... The Debian install will install both (during the install's ...
      (comp.os.linux.misc)
    • Re: Concerning testing
      ... The company I work for installs debian servers (gateway, firewall, mail ... > I know that I should install stable, but somehow I don't want to. ... > Is testing on a business server an awfully idea, ...
      (Debian-User)