Slackware HowTo

Create a local Slackware mirror with rsync

Prepare a local copy of the distribution for internal network, lab, or staging.

1. When to use it

Useful when multiple hosts need updates without depending on the Internet or external mirrors every time.

rsync | local mirror | LAN | staging | repository

2. Base setup

rsync -av rsync://mirrors.slackware.com/slackware/slackware64-15.0/ /srv/mirror/slackware64-15.0/
python3 -m http.server --directory /srv/mirror 8080
find /srv/mirror/slackware64-15.0 -maxdepth 2 | head

Adjust host names, IPs, interfaces, paths, and versions to the real system before making the change persistent.

3. Quick verification

du -sh /srv/mirror/slackware64-15.0
find /srv/mirror/slackware64-15.0/slackware64 -maxdepth 1 | head
curl -I http://127.0.0.1:8080/

Confirm that the output matches the expected state before considering the intervention complete.

4. Operational notes

Separating the full mirror from internal repositories helps keep clear what comes from Slackware and what is local.

Quick checklist

[ ] Steps completed\n[ ] Config updated\n[ ] Tests executed\n[ ] Rollback ready\n[ ] Logs checked

Back to Linux HowTo