16 July, 2016

Compare the RPM packages installed on two different servers

Setting up new servers can be a pain if you’re not able to clone them from a server that is known to be working. Many VPS providers, like Slicehost, allow you to clone a system to a new system. Without that option, you can pull a list of RPM’s without their version number for a fairly quick and basic comparison.
First, pull a list of RPM package by name only:
Once you’ve done that on both servers, just use diff to compare the two files:

No comments:

Post a Comment

Useful Scripts

To Find session details using SID. set verify off col sid format 99999 col machine format a10 col program format a25 trunc col username form...