***** Verify that the OS matches EXACTLY before proceeding

  1. Sync yum repositories to the new server. On the original server execute:
    • rsync -av /etc/yum.repos.d/ User@NewServer:/etc/yum.repos.d/
  2. On the original server, obtain a list of RPMs that are installed and send them to the new server
    • rpm -qa > /tmp/rpms
    • scp /tmp/rpms User@NewServer:/tmp/
  3. Install the RPMs. On the new server execute:
    • cat /tmp/rpms | while read r; do yum install -y $r; done

Leave a Reply

Your email address will not be published. Required fields are marked *