D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] APT & NFS

 

Ben Goodger wrote:
> 
> Can APT be configured to use NFS repositories?

Yes, now go back to using HTTP.

For a software repository under, all NFS does is make it less secure,
more compex, less likely to be cached etc.

Setting up a webserver to be a Debian mirror is pretty much easier than
doing NFS....

Something like;

"apt-get install apache2".
"apt-get install rsync"
Download the script from;
http://www.debian.org/mirror/ftpmirror

Customise it to put the files in "/var/www/"
Run the script - wait several days for it to finish, put the script in
as a cron job.

Use the mirror.

Smaller repository are basically similar.

No doubt Ubuntu is different, but that is your problem picking these
minority distros ;).

But will probably boil down to rsyncing the relevant directory under the
webservers DocumentRoot.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html