There is a yum command to install from cache and not look online. Details are in "man yum". Never tried what you are doing, so i can't say for sure it would work. But you probably have to pass yum the makecache command on the first machine and install from cache on the second. But this is just a guess. yum localinstall may help as well.
<br><br>Hope this helps.<br><br><div><span class="gmail_quote">On 6/4/07, <b class="gmail_sendername">Khaled Chehab</b> <<a href="mailto:kchehab@xplorium.com">kchehab@xplorium.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
A lot of dependencies required for each module, I don't know the sequence of<br>the rpms.Any way to know that.<br><br>-----Original Message-----<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com
</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Jaswinder<br>Singh<br>Sent: Monday, June 04, 2007 4:51 AM<br>To: Asterisk Users Mailing List - Non-Commercial Discussion
<br>Subject: Re: [asterisk-users] yum om centos<br><br>independently install each rpm via rpm command :-/<br><br>On 04/06/07, Khaled Chehab <<a href="mailto:kchehab@xplorium.com">kchehab@xplorium.com</a>> wrote:<br>
><br>><br>><br>><br>> I have 2 servers, one connected to internet and the other is on a private<br>> lan have no access to internet.<br>><br>> On the first server I update the kernel by yum update<br>
><br>> And installed asterisk prerequisite module<br>><br>> yum install gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++ autoconf \ libtool<br>> make automake automake14 automake15 automake16 automake17 \ bison byacc
<br>flex<br>> libtermcap libtermcap-devel newt newt-devel \ ncurses ncurses-devel<br>> openssl-devel zlib zlib-devel krb5-devel<br>><br>><br>><br>><br>><br>> I zipped /var/cache/yum from the first server and extract it on the second
<br>> server at the same directory.<br>><br>><br>><br>> On the second server I tried to update using<br>><br>> yum update<br>><br>> but the yum update failed.<br>><br>><br>><br>><br>
><br>> How can I do that with out connecting the second server to internet .<br>><br>><br>><br>><br>><br>><br>><br>> Khaled<br>><br>> Regards<br>><br>><br>><br>><br>><br>
> ________________________________<br>> *********************************************<br>> No employee or agent is authorized to conclude<br>> any binding agreement on behalf of<br>> Xplorium with another party by e-mail
<br>> without express written confirmation by an<br>> officer of Xplorium. Any views expressed by<br>> an individual in this electronic message<br>> do not necessarily reflect views of Xplorium<br>> or its subsidiaries and associates.
<br>><br>> This electronic message and its attachments are<br>> solely addressed to the addressee(s), and<br>> contain confidential information protected<br>> from disclosure belonging to Xplorium.<br>>
<br>> If you are not the intended addressee of this<br>> electronic message and its attachments,<br>> kindly delete it immediately from your system and<br>> notify the sender by electronic mail. You<br>> must not copy this message or attachment
<br>> or disclose its content to any other<br>> person.<br>><br>> Xplorium does not guarantee the integrity of this<br>> electronic message and any of its<br>> attachments, or that they are free from computer viruses
<br>> or other defects.<br>> *********************************************<br>><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br><br>*********************************************<br>No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.
<br><br>This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.<br><br>If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.
<br><br>Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.<br>*********************************************<br><br>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>