Re: installing centos 7 32 bit i386 to laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 7/28/2016 11:38 AM, geo.inbox.ignored wrote:
my current count sites that i have pulled is over 250. when i get my new
'playstation' boxen, this one will become my 'local web server'. then i
will have to figure out how to run a bot to keep it updated. ;=)

I use this script to maintain a mirror of all current mainstream versions of centos except SRPMS (source). my /mirror directory on this server is both nfs shared to all my other systems, and available on my local network via http.

#!/bin/sh
/usr/bin/lftp -c 'open ftp://mirrors.sonic.net && lcd /mirror && mirror --continue --verbose=1 -x SRPMS centos'

I invoke this script nightly from crontab

$ crontab -l
30 21 * * * time ./lftp.sh





--
john r pierce, recycling bits in santa cruz

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux