Hi - I apologize for the newbie question. I did some searching of the archives and couldn't find it, but there wasn't an actual search box that i found.
I am creating a local mirror for our servers, and am only creating the trees that we need. Currently we only need version 5.2. Do I need to create the tree for 5 as well as 5.2? For example, so far I have created the directories:
/var/www/html/centos/5.2/os/i386 /var/www/html/centos/5.2/updates/i386 /var/www/html/centos/5.2/os/x86_64 /var/www/html/centos/5.2/updates/x86_64
and I'm wondering whether I also need to create:
/var/www/html/centos/5/os/i386 /var/www/html/centos/5/updates/i386 /var/www/html/centos/5/os/x86_64 /var/www/html/centos/5/updates/x86_64
Thanks for your help, Maria
Hi Maria
Thank you for supporting CentOS. Actually all the content of tree 5 is hardlink to 5.2 which don't mean you MUST need to create tree for 5. But if you are running a mirror, I will suggest you to create a directory /centos/5/ which may allow you to maintain the sync script easer and keep you away from getting error report of 'crond'.
With Regards
Ahamed Bauani http://blog.bauani.org/
On Tue, Nov 11, 2008 at 1:16 AM, Maria Iano miano@gannett.com wrote:
Hi - I apologize for the newbie question. I did some searching of the archives and couldn't find it, but there wasn't an actual search box that i found.
I am creating a local mirror for our servers, and am only creating the trees that we need. Currently we only need version 5.2. Do I need to create the tree for 5 as well as 5.2? For example, so far I have created the directories:
/var/www/html/centos/5.2/os/i386 /var/www/html/centos/5.2/updates/i386 /var/www/html/centos/5.2/os/x86_64 /var/www/html/centos/5.2/updates/x86_64
and I'm wondering whether I also need to create:
/var/www/html/centos/5/os/i386 /var/www/html/centos/5/updates/i386 /var/www/html/centos/5/os/x86_64 /var/www/html/centos/5/updates/x86_64
Thanks for your help, Maria _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Maria Iano wrote:
/var/www/html/centos/5.2/os/i386 /var/www/html/centos/5.2/updates/i386 /var/www/html/centos/5.2/os/x86_64 /var/www/html/centos/5.2/updates/x86_64
and I'm wondering whether I also need to create:
/var/www/html/centos/5/os/i386 /var/www/html/centos/5/updates/i386 /var/www/html/centos/5/os/x86_64 /var/www/html/centos/5/updates/x86_64
If you rsync the tree, those are created as symlinks to the current CentOS version (so at the moment it is linked to 5.2, it will get linked to 5.3 when that comes out). Your machines should hit the "/5/" version so that updates to 5.x happen "automagically".
By the way: If you aren't going to offer a public mirror, you have hit the wrong list - this should go to centos@centos.org. This list is for people offering public mirrors.
Cheers,
Ralph
On 11/11/08 10:35, Ralph Angenendt wrote:
If you rsync the tree, those are created as symlinks to the current CentOS version (so at the moment it is linked to 5.2, it will get linked to 5.3 when that comes out). Your machines should hit the "/5/" version so that updates to 5.x happen "automagically".
Also, when mirroring just certain versions and architectures I found it easier to rsync at the top level and use an exclude file to ignore the versions and architectures that I didn't want. This also made it easier to "turn on" other versions and arches when I had the space.
Regards,
Mike
Thank you for your very helpful responses! Sorry to have posted to the wrong list, I will post to the other one in future. I just wanted to say thank you first for your help.
Maria