On 2022/5/21 22:54, Linux-Fan wrote:
I admit a local mirror is more suitable for large set of computers.
But for a small set of computers, for example, 1-5 computers,
setting up a local mirror might be too heavy.
Actually I think this may be a misconception. Setting up a mirror for internal use is (from my experience with the `ftpsync` script, cf. https://www.debian.org/mirror/ftpmirror) pretty straight-forward. AFAIK
the minimal steps are as follows:
- Download and extract ftpsync to a location
- Configure distrib/etc/ftpsync.conf
- Setup a webserver to serve the mirror directory
- Invoke mirror script
- Then point clients to the webserver location
Thanks for this information. I think I overestimated the difficulty of creating a mirror.
Best Regards,
Zhang Boyang
Quoting myself - which might be bad form
gives the full steps to set up a mirror by editing one script, moreor less.
You do need rsync and a mirror to pull from but this is really,really easy to do.
Setting up Apache is covered in another blog in that series at almost the same time - it's essentially just unocmmenting the stanza for /srv inthe
default configuration. [My mirror directories are all under /srv ]
Hope this helps,
Andy Cater
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 237:10:04 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,873 |