2024-09-20 20:53:06 +03:00

521 B

Configuration server for mirroring apt repositories.

First, need to install apt-mirror and nginx:

apt install apt-mirror nginx

Second, create directory structure for repos:

/DATA
├── iso
└── repos
├── mirror
├── skel
└── var

Third, start apt-mirror for sync repos: ( You can use crond for auto update )

apt-mirror

Last, edit conf of nginx. Look at examples.