Re: Setting up debian package server for installation over ethernet
On Fri, Nov 28, 2003 at 01:03:53PM +0530, Vikas B N wrote:
} 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?
} 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 debmirror for this. It seems to give some spurious errors from time
to time, but it works pretty dependably. I have a cron job that runs in the
wee hours of the morning each day. (Actually, I mirror both at home and at
work; at work I only bother mirroring on weekday mornings.)
You can mirror using either rsync or ftp. Due to firewall issues, I use ftp
at work, but I recommend rsync if you can use it. This is the script I run
as a cron job:
debmirror /var/ftp/debian --method=rsync \
$ARCH $SECTIONS $MAIN "$@"
debmirror /var/ftp/debian-non-US --method=rsync \
$ARCH $SECTIONS $NONUS "$@"
} Thanks in advance,