How Do I Mirror a Repository in Debian?
Contents How Do I Mirror a Debian Repository? How to Create a Local Debian Mirror: Open a Terminal and Type Sudo Su. Type Apt-Get Install Apt-Mirror Apache2...
Contents
How do I mirror a Debian repository?
How to create a local Debian Mirror:
- Open a terminal and type sudo su.
- Type apt-get install apt-mirror apache2.
- Type mv /etc/apt/mirror.list /etc/apt/backup-mirror.list.
- Type gedit /etc/apt/mirror.list and add the following for a Debian Etch repository (Replace Etch with Lenny for a Lenny Mirror) then save the file:
How do I mirror apt repository?
All you need to do now is, just create path directory and run apt-mirror command to synchronize official Ubuntu repositories with our local mirror. As you can see apt-mirror proceeds with indexing and downloading archives presenting total number of downloaded packages and their size.