Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to mirror Debian repository

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
gaticak7
Posts: 5
Joined: 2018-05-29 18:38

How to mirror Debian repository

#1 Post by gaticak7 »

Hello everyone!
I am trying do a mirror repository offline for an institute.
I already read the https://www.debian.org/mirror/ftpmirror . But, i don't understand correctly how to do it.
Someone have some tips to help me? I know to i have to do it with rsync app, but i don't know how to set up this to download just 'i386, amd63 and source' files.

Greetings, Kevin.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: How to mirror Debian repository

#2 Post by Bulkley »

Is this a homework assignment?

Your link starts out asking "Whether to mirror". I'd add one more question: Are you prepared to maintain the mirror? If not, don't build it.

gaticak7
Posts: 5
Joined: 2018-05-29 18:38

Re: How to mirror Debian repository

#3 Post by gaticak7 »

Hello Bulkley. I'm trying to do it for an institute where are students cursing. We have the hardware to maintain this.
Do you know how to do it?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: How to mirror Debian repository

#4 Post by None1975 »

Everything is explained in Debian wiki. What did you not really understand?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

gaticak7
Posts: 5
Joined: 2018-05-29 18:38

Re: How to mirror Debian repository

#5 Post by gaticak7 »

How to set up the rsync.conf to download only i386 amd64 and source. And where storage it.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: How to mirror Debian repository

#6 Post by None1975 »

gaticak7 wrote:How to set up the rsync.conf to download only i386 amd64 and source. And where storage it.
Please, check this. Good luck.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: How to mirror Debian repository

#7 Post by Dai_trying »

There is also Aptly which I have used in the past to create a personal mirror of the debian repository, it can be fine-tuned to only synchronize the parts you want. The website has some examples/tutorials to help you get started and I found it to be reliable enough when I was testing many different installation options.

gaticak7
Posts: 5
Joined: 2018-05-29 18:38

Re: How to mirror Debian repository

#8 Post by gaticak7 »

None1975 wrote:
gaticak7 wrote:How to set up the rsync.conf to download only i386 amd64 and source. And where storage it.
Please, check this. Good luck.
Thanks, I'll check this.

gaticak7
Posts: 5
Joined: 2018-05-29 18:38

Re: How to mirror Debian repository

#9 Post by gaticak7 »

Dai_trying wrote:There is also Aptly which I have used in the past to create a personal mirror of the debian repository, it can be fine-tuned to only synchronize the parts you want. The website has some examples/tutorials to help you get started and I found it to be reliable enough when I was testing many different installation options.
That's sounds nice, I'll see it then.

Post Reply