[NBLUG/talk] Setting up a apt-get server
E Frank Ball
frankb at efball.com
Tue Apr 29 20:15:01 PDT 2003
On Tue, Apr 29, 2003 at 05:46:26PM -0700, Mark Street wrote:
} Is there a specific HOWTO or some pointers on setting up and populating a
} ftp/http tree for apt? As well as using rsync to keep it all current....
}
} I am looking into setting up a server for 100's....1000's of Red Hat client
} machines.
I have an apt server at work where I have about a dozen machines to take
care of. I just setup the directorties manually, then ran my update
script to download the files and setup apt.
I loaded the main os from CDs, and just use rsync to get the updates.
I run this from cron weekly, but suit yourself as to how often.
#!/bin/sh
cd /home/ftp/pub/RedHat/apt
rsync -av rsync://swdepot.scs.agilent.com/redhat-updates/9/en/os/i386/\* redhat-updates-9.0/redhat/RPMS.updates/.
rsync -av rsync://swdepot.scs.agilent.com/redhat-updates/9/en/os/noarch/\* redhat-updates-9.0/redhat/RPMS.updates/.
# genbasedir --bloat --bz2only /home/ftp/pub/RedHat/apt/redhat-9.0-i386/redhat os
# this one only gets run once, since this doesn't change
genbasedir --bloat --bz2only /home/ftp/pub/RedHat/apt/redhat-updates-9.0/redhat updates
--
E Frank Ball frankb at efball.com
More information about the talk
mailing list