Added configs for apt-mirror-server
This commit is contained in:
25
apt-mirror-server/README.md
Normal file
25
apt-mirror-server/README.md
Normal 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.
|
Reference in New Issue
Block a user