Added configs for apt-mirror-server

This commit is contained in:
2024-09-20 20:50:26 +03:00
parent f1c2906b58
commit e3b8902143
5 changed files with 211 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Configuration server for mirroring apt repositories.
First, need to install apt-mirror and nginx:<br/>
<br/>
`apt install apt-mirror nginx`<br/>
<br/>
Second, create directory structure for repos:<br/>
<br/>
`/DATA`<br/>
`├── iso`<br/>
`└── repos`<br/>
` ├── mirror`<br/>
` ├── skel`<br/>
` └── var`<br/>
<br/>
Third, start apt-mirror for sync repos:<br/>
<br/>
`apt-mirror`<br/>
<br/>
Last, exit conf of nginx. Loock at examples.