26 lines
478 B
Markdown
26 lines
478 B
Markdown
# 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.
|