[CentOS] Doing a Centos mirror only via http
nux at li.nux.ro
Fri Oct 19 14:54:46 EDT 2012
On 19.10.2012 19:38, C. L. Martinez wrote:
> On Sat, Oct 13, 2012 at 5:48 PM, John R Pierce <pierce at hogranch.com>
>> On 10/13/12 6:07 AM, Nux! wrote:
>>>> >Many thanks Nux, reposync is the tool ... but, is it possible to
>>>> >download metada too with reposync to avoid to use createrepo
>>> Use lftp, not reposync.
>> yeah, thats what I use. my cron job looks like...
>> lftp -c 'open ftp://mirrors.kernel.org && lcd /export/mirror &&
>> mirror --continue --verbose=1 -x ia64 -x s390 -x s390x -x alpha -x
>> that gets all releases, but not s390 or alpna or itanium. add -x
>> 5\* to
>> lose the 5.x stuff.
>> oh, it appears I'm using ftp not http... I believe thats because I
>> inconsistent results with http when I switched source repos
> Ok, I am trying to use lftp but I receive a lot of messages like
> x86_64: Getting files information (22%) [Waiting for response...]
> "Delaying before reconnect"
> .. and after 8 hours, lftp had synced 4GiB ... very very very slowly
> ... My Internet connection is not the problem ( I can download DVD
> images really fast) and the source server neither ( I have tried to
> download CentOS 6.3 x86_64 iso image and the download was really
> Where can it be the problem??
Maybe the mirror server is slow? Try a mirror server closer to you.
Sent from the Delta quadrant using Borg technology!
More information about the CentOS