The Linux server (if it's a "real" one) should already be set with the software you need. Xampp is specifically for local servers, and they even advise against using it for a live server because of security limitations. Or is it a local Linux server you are talking about? I'm not sure that will really help you, other than perhaps catching mistakes like subdirectory names with spaces in them.

My experience is that things transfer fine between xampp at home and Linux on the live server. Making the Apache/PHP/MySQL versions match is probably most important.