<DIV>
<DIV>Some days ago I posted a message where I asked for a procedure to automatically update a linux server without a connection to internet (for example homed in the DMZ) etc. </DIV>
<DIV>Well, unfortunately I didn't find any solution or tool excpet up2date for the machine used to interface RedHat Network. So I used a USB memory card (a CD may be used too) to store all the RPMs and a shell script to do automatically the updates on the others servers. </DIV>
<DIV> </DIV>
<DIV>The commands I used are:</DIV>
<DIV># Import the key to verify RPM if it is not present</DIV>
<DIV>rpm --import RPM-GPG-KEY</DIV>
<DIV> </DIV>
<DIV># First update RPM resolving dependencies</DIV>
<DIV> </DIV>
<DIV>rpm -Fvh glibc-devel*.rpm nptl-devel-2.3.2-95*.rpm<BR>rpm -Uvh elfutils-0.94*.rpm elfutils-devel*.rpm elfutils-libelf*.rpm<BR>rpm -Uvh bind*.rpm<BR>rpm -Fvh httpd*.rpm mod_ssl-2.0.46-4*.rpm<BR>rpm -Fvh mozilla*.rpm<BR>rpm -Uvh popt*.rpm rpm*.rpm<BR>rpm -Fvh samba*.rpm<BR>rpm -Fvh kdebase*.rpm kdelibs*.rpm<BR>rpm -Fvh XFree*.rpm<BR>rpm -Fvh cyrus*.rpm<BR>rpm -Fvh chkconfig*.rpm ntsysv*.rpm<BR>rpm -Fvh krb*.rpm<BR>rpm -Fvh gcc-*.rpm cpp*.rpm libgcc*.rpm lib*.rpm<BR>rpm -Uvh laus-libs*.rpm<BR>rpm -Fvh glibc-2*.rpm glibc-common*.rpm glibc-utils*.rpm shadow-utils*.rpm laus*.rpm</DIV>
<DIV> </DIV>
<DIV>Then I write a loop which exec RPM -Fvh for each RPM present in the USB card. If I found some error dependency I will update the instruction list above.</DIV>
<DIV> </DIV>
<DIV>Perhaps it may be banal, however I posted hoping you will find it useful.</DIV>
<DIV> </DIV>
<DIV>Bye.</DIV></DIV><p>
        

        
                <hr size=1><font face="Arial" size="2"><a href="http://it.rd.yahoo.com/mail/taglines/*http://it.messenger.yahoo.com"><b>Nuovo Yahoo! Messenger</b></a> E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! 
</font>