Hi all,
Is it possible to setup a private local CentOS mirror only for the latest release (http://mirror.centos.org/centos/6/) via http only?? I know how to do using rsync, but I need to accomplish this via http service only ...
Thanks.
On 13.10.2012 12:40, C. L. Martinez wrote:
Hi all,
Is it possible to setup a private local CentOS mirror only for the latest release (http://mirror.centos.org/centos/6/) via http only?? I know how to do using rsync, but I need to accomplish this via http service only ...
Yes, it is possible, read the docs http://wiki.centos.org/HowTos/CreateLocalMirror
On Sat, Oct 13, 2012 at 12:02 PM, Nux! nux@li.nux.ro wrote:
On 13.10.2012 12:40, C. L. Martinez wrote:
Hi all,
Is it possible to setup a private local CentOS mirror only for the latest release (http://mirror.centos.org/centos/6/) via http only?? I know how to do using rsync, but I need to accomplish this via http service only ...
Yes, it is possible, read the docs http://wiki.centos.org/HowTos/CreateLocalMirror
-- Sent from the Delta quadrant using Borg technology!
Nux!
Many thanks Nux, reposync is the tool ... but, is it possible to download metada too with reposync to avoid to use createrepo command??
On 13.10.2012 13:25, C. L. Martinez wrote:
On Sat, Oct 13, 2012 at 12:02 PM, Nux! nux@li.nux.ro wrote:
On 13.10.2012 12:40, C. L. Martinez wrote:
Hi all,
Is it possible to setup a private local CentOS mirror only for the latest release (http://mirror.centos.org/centos/6/) via http only?? I know how to do using rsync, but I need to accomplish this via http service only ...
Yes, it is possible, read the docs http://wiki.centos.org/HowTos/CreateLocalMirror
-- Sent from the Delta quadrant using Borg technology!
Nux!
Many thanks Nux, reposync is the tool ... but, is it possible to download metada too with reposync to avoid to use createrepo command??
Use lftp, not reposync.
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 command??
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 SRPMS centos'
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 got inconsistent results with http when I switched source repos
On Sat, Oct 13, 2012 at 5:48 PM, John R Pierce pierce@hogranch.com wrote:
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 command??
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 SRPMS centos'
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 got inconsistent results with http when I switched source repos
--
Ok, I am trying to use lftp but I receive a lot of messages like this:
x86_64: Getting files information (22%) [Waiting for response...]
or
"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 iso 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 fast)
Where can it be the problem??
On 19.10.2012 19:38, C. L. Martinez wrote:
On Sat, Oct 13, 2012 at 5:48 PM, John R Pierce pierce@hogranch.com wrote:
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 command??
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 SRPMS centos'
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 got inconsistent results with http when I switched source repos
--
Ok, I am trying to use lftp but I receive a lot of messages like this:
x86_64: Getting files information (22%) [Waiting for response...]
or
"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 iso 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 fast)
Where can it be the problem??
Maybe the mirror server is slow? Try a mirror server closer to you.
On Fri, Oct 19, 2012 at 6:54 PM, Nux! nux@li.nux.ro wrote:
On 19.10.2012 19:38, C. L. Martinez wrote:
On Sat, Oct 13, 2012 at 5:48 PM, John R Pierce pierce@hogranch.com wrote:
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 command??
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 SRPMS centos'
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 got inconsistent results with http when I switched source repos
--
Ok, I am trying to use lftp but I receive a lot of messages like this:
x86_64: Getting files information (22%) [Waiting for response...]
or
"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 iso 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 fast)
Where can it be the problem??
Maybe the mirror server is slow? Try a mirror server closer to you.
--
Nop, mirror server is fast ... I have downloaded dvd iso (4 GiB) image from this server in 50 min.
On 10/19/12 11:38 AM, C. L. Martinez wrote:
Ok, I am trying to use lftp but I receive a lot of messages like this:
x86_64: Getting files information (22%) [Waiting for response...]
or
"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 iso 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 fast)
Where can it be the problem??
I suspect its that there's many little files, and while your connection may have a fast streaming speed, it could have a high latency?
the 'getting files information' part is basically doing a 'dir' over ftp.
try using lftp to get the .iso file and see how fast that runs, it should be as fast as anything else.
On Fri, Oct 19, 2012 at 7:03 PM, John R Pierce pierce@hogranch.com wrote:
On 10/19/12 11:38 AM, C. L. Martinez wrote:
Ok, I am trying to use lftp but I receive a lot of messages like this:
x86_64: Getting files information (22%) [Waiting for response...]
or
"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 iso 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 fast)
Where can it be the problem??
I suspect its that there's many little files, and while your connection may have a fast streaming speed, it could have a high latency?
This can be the problem ... I am using a DSL line ...
the 'getting files information' part is basically doing a 'dir' over ftp.
try using lftp to get the .iso file and see how fast that runs, it should be as fast as anything else.
You are right .... downloading .iso file, lftp is faster ... then, exists some tool like rsync to use use http service?? Or only lftp and reposync are the options to setup a CentOS mirror via http??
On 10/19/12 1:44 PM, C. L. Martinez wrote:
You are right .... downloading .iso file, lftp is faster ... then, exists some tool like rsync to use use http service?? Or only lftp and reposync are the options to setup a CentOS mirror via http??
there are rsync servers on SOME Of the mirrors, but I had consistent trouble with rsync timeouts and switched to lftp.