Up More Tips

From herrold@owlriver.com Wed May 29 00:05:35 2002 Date: Tue, 28 May 2002 23:54:10 -0400 (EDT) From: R P Herrold To: Paul M Foster Subject: Re: RH Updates from Empire On Tue, 28 May 2002, Paul M Foster wrote: > What is the preferred method of obtaining Red Hat updates from stones? > Last time I did this, I used rsync and ssh, but we discussed earlier > that this wasn't the best way. Yeah, that can be rather 'loady.' Please give this a try: /usr/local/bin/mirror.defaults on www.colug.net (for which your slug account will work to pull). There is one at the FTP archive I mention as well -- but that one is kinda stale and the mirror package sources from: ftp://ftp.owlriver.com/pub/local/ORC/mirror/ 1. Download the SRPM by anonymous FTP, and as root, run: rpm -Uvh mirror-2.9-11.src.rpm 2. Build it (it is just a perl packaging script -- no C compiler involvement), as root, run: rpmbuild -ba /usr/src/redhat/SPECS/mirror.spec 3. Install it rpm -Uvh /usr/src/redhat/RPMS/noarch/mirror-2.9-11.noarch.rpm 4. copy the mirror.defaults file to /usr/local/bin and look it over for reasonableness ================== Run it thus: mirror /usr/local/bin/mirror.defaults to pull just a given package: mirror -pRedhat73 /usr/local/bin/mirror.defaults --- it is happy to fill a filesystem. You have been warned (grin) -- Russ rev 020616 mirror-setup.txt http://www.owlriver.com/tips/mirror-setup.txt
Up More Tips