LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-06-2009, 02:20 PM   #1
bunglega
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Unhappy Mirroring Installed Packages Between Servers


I have two servers that are already installed with RHEL 5 ... I will call them Server A and Server B.

I have been asked to re-configure Server A so that its installed packages match those installed on Server B. What is the best (and hopefully easiest way) to accomplish this?

I have generated a list of currently installed packages on both server using the command:

yum list installed

Is that the right command? When I compare the output side by side the task seems daunting and I'm considering just starting over and re-loading Server A. I have ~ 620 packages installed on Server B and ~ 1200 packages installed on Server A.

Any suggestions?

Thanks,
Bungle
 
Old 01-06-2009, 04:08 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by bunglega View Post
When I compare the output side by side the task seems daunting...
Try redirecting the output of the command to a file on each machine and then using diff with the "-y" (or "--side-by-side") option.
 
  


Reply

Tags
installation, mirroring, package, packages, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mirroring Slackware 12.1 servers Zafoid Linux - Newbie 3 12-10-2008 05:48 AM
Two-way mirroring of Web Servers Sites jcorrea920 Linux - Server 7 07-29-2007 04:46 PM
Mirroring Linux Servers JohnLinx Linux - General 9 01-22-2004 07:44 PM
Mirroring servers using RSYNC RKris Linux - Networking 1 05-15-2003 06:26 AM
mirroring servers rkirkley Linux - Networking 0 10-08-2001 12:21 PM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration