rsync://mirrors.vonline.vn/centos/ /var/www/html/centos/ -bash: rsync://mirrors.vonline.vn/centos/: No such file or directory
hellp me
On Tue, Mar 27, 2018 at 7:00 PM, centos-mirror-request@centos.org wrote:
Send CentOS-mirror mailing list submissions to centos-mirror@centos.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.centos.org/mailman/listinfo/centos-mirror or, via email, send a message with subject or body 'help' to centos-mirror-request@centos.org
You can reach the person managing the list at centos-mirror-owner@centos.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-mirror digest..."
Today's Topics:
- New CentOS mirror for Romania (Balazs Baranyi)
- Re: New CentOS mirror for Romania (Anssi Johansson)
- New mirror server in Belgium (Kris De Rocker)
- Re: New mirror server in Belgium (Anssi Johansson)
Message: 1 Date: Mon, 26 Mar 2018 15:06:09 +0100 From: Balazs Baranyi bb@twomiles.co.uk To: centos-mirror@centos.org Subject: [CentOS-mirror] New CentOS mirror for Romania Message-ID: <CAMoRNRDL62-0RjKYcPYncO5xukLsB273Q-jRZkHc3GP+a+XFYg@mail.gmail. com> Content-Type: text/plain; charset="utf-8"
HTTP: http://ro.mirror.guru/centos FTP: n/a RSYNC: n/a
Sync schedule: Every hr Bandwidth: 1Gbit/s Location: Bucharest, Romania Sponsor: MirrorGuru Sponsor URL: http://mirror.guru IPv4 address to authorize: 185.181.101.118 IPv6 address to authorize: none Email contact: bb@twomiles.co.uk Mirroring AltArch : no
Onet 24/7 kirjoitti 28.3.2018 klo 6.39:
rsync://mirrors.vonline.vn/centos/ /var/www/html/centos/ -bash: rsync://mirrors.vonline.vn/centos/ : No such file or directory
hellp me
Well, there are two problems here. The first one which gave you the "no such file or directory" error message is that you forgot the rsync command from the beginning. You should have used "rsync rsync://mirrors..." instead.
The second one is that vonline.vn does not provide rsync. You would get a "connection timed out" error message with that URL. Please see https://www.centos.org/download/mirrors/ and see which mirrors have a URL in the rsync column.
For example, this should work: rsync -vaHz --progress --partial rsync://mirrors.viethosting.com/centos/ /var/www/html/centos/
This will show the progress as files are transferred. Add/remove other rsync flags to taste. The --delete flag should be used in your final script to also remove files if they are no longer available upstream. The -H flag that preserves hard links is important to save bandwidth and disk space. That flag should always be present.