Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

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?

Old 01-06-2009, 04:08 PM   #2
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
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 AM.

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