Mike,
        I think the fix to your opd problem is to define an environmental
variable with the name "http_proxy" and set it to your web proxy, i.e.

export http_proxy=http://squid.my.place:3128/

and then it should work.  Have a look at the man LWP::UserAgent in the
section on env_proxy for some more examples.  Note, you define these
variable in your environment, not in the perl scripts.  This is all
similar to what is used by lynx and a number of other command line
browsers.


As to how to install rpm updates, I haven't read the documentation
recently, but the easiest way I've found is to install them directly
onto the nodes, i.e. put them in a common place (e.g. my home directory)
and then as root do:

cexec rpm -Fvh ~frank/*.rpm

which will install them everywhere.  Once I'm sure it is okay, then I
run a final step to update the image directory on the head node with:

rpm -Fvh --root /var/lib/systemimage/images/XXX/ ~frank/*.rpm

However, you as with other updates, you need to be very careful with
certain type of changes, especially kernel updates.  If you do want to
update the kernel through rpm you also need to modify the
systemconfigurator scripts with the new names and the create initrd
files with the correct names.  I've attached a little script I used last
time I did such changes.

Frank

On Sat, 2004-01-31 at 18:40, Michael L. Edwards wrote:
> There are some vague discussions about using the command line version of opd with 
> the --lwp flag or somesuch in the install docs, but I still got firewall type errors 
> regarding domain lookup failure when I could verify the site (and its DNS lookup) 
> were active when I tried.  I read the man page for lwp but it made no sense to me.  
> It seemed like I might need to modify the perl code for opd with proxy specific 
> information?  Or do I not have some global proxy environment setting turned on that 
> it uses?  I set mozilla up to use my web proxy, but thats it.  I am behind two 
> different firewalls, only one of which I have control over.  The proxy is inbetween 
> the two firewalls, but mozilla runs transparently as if my firewall isn't there.  I 
> suppose I could pull out the extra firewall box and just let the ipfilter stuff yall 
> have going do its job.  I think I would still likely have problems with the outer 
> firewall, but if noone has any briliant ideas I will give it a shot.
> 
> On a perhaps related question, I am also not clear from the documentation how to 
> apply rpm updates to the node images.  The instructions on how to update the nodes 
> from the new image made sense (haven't tried using them mind you :), just not how to 
> get the updated rpm into the image to begin with.
> 
> Sorry for the high volume of questions, but I am tantilizingly close to having this 
> working.
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Oscar-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-users
-- 
ac3
Suite G16, Bay 7, Locomotive Workshop   Phone:  02 9209 4600
Australian Technology Park              Fax:    02 9209 4611
Eveleigh   NSW   1430
#! /bin/sh

PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH

echo "Update starting - node `hostname`"

mount -r barossa:/tftpboot /mnt/cx200_1a

cd /mnt/cx200_1a/rpm
rpm -ivh  kernel-2.4.20-28.9.i686.rpm kernel-smp-2.4.20-28.9.i686.rpm
rpm -Fvh *.i686.rpm glibc-common-2.3.2-27.9.7.i386.rpm
rpm -Fvh *.rpm

cd /mnt/cx200_1a/local
rpm -Fvh *.rpm

cd /boot
umount /mnt/cx200_1a

cp -p initrd-2.4.20-28.9.img sc-initrd-2.4.20-28.9.gz
cp -p initrd-2.4.20-28.9smp.img sc-initrd-2.4.20-28.9smp.gz

cd /etc

cp -p lilo.conf lilo.prev
sed 's/2.4.20-20.9/2.4.20-28.9/' lilo.prev > lilo.conf
lilo -v

echo "Update complete - node `hostname`"

exit 0

Reply via email to