[arch-general] 'Local mirror' page was removed from wiki

Matthew Gyurgyik pyther at pyther.net
Sun Sep 19 12:26:33 EDT 2010


  On 09/19/2010 11:45 AM, Steve Holmes wrote:
> On Sat, Sep 18, 2010 at 10:46:13PM -0400, Matthew Gyurgyik wrote:
>> There is nothing preventing you from creating a local mirror. If you
>> can't figure out how to create a local mirror using the resource
>> available, you probably shouldn't be using arch.
> Now, there's a supportive answer if I ever heard one.  That's the way
> to get more people interested in using arch.
>
> Most distros like to build up their presence and increase the numbers
> and usage.  Obviously if everyone goes out there and attempts to build
> local mirrors and all, that would put a big drain on the arch package
> update process.  I don't think many people are doubting that and maybe
> it should be discouraged however.  But the withholding of technical
> knowledge with such arrogance is in poor taste if you ask me.  Like
> others have been saying all along now, the original information was
> pulled and no technical explanation was ever offered for why it was
> wrong.
>
> Now because of all this "secrecy" (in appearance), I've increased my
> curiosity and may look into building a local mirror just so I know how
> to do it.  Had the thing on the wiki site been corrected, I would have
> probably just read it and kept it in the back of my mind for a day
> when I would really need to do it.
As I posted on the forum... How hard is it to run rsync and look at the 
man page for rsync? rsync is the *only* command that is needed to create 
a local mirror.

We want to discourage this behavior as much as possible and it is really 
quite trivial to setup a mirror.

Setup a local mirror
1. rsync to local dir (look at the developer's wiki for mirrors and the 
proper rysnc arguments)
2. Set up webserver to serve local dir (if on a lan)
3. Set local mirror url in mirrorlist
4. Alternatively use Server = file:///mnt/media/mirror/$repo/os/x86_64 
in pacman.conf or mirrorlist

That is all that has to be done.

If one is going to be creating a local mirror, he/she should really have 
this basic knowledge.


More information about the arch-general mailing list