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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-06-2009, 02:20 PM
|
#1
|
LQ Newbie
Registered: Jun 2008
Posts: 2
Rep:
|
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
|
|
|
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
Rep: 
|
Quote:
Originally Posted by bunglega
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.
|
|
|
All times are GMT -5. The time now is 12:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|