Installing xampp for Windows is very easy. But for Linux it is comparitively difficult. First of all download the xampp server from here Xampp.
The xampp should be extracted as the root account.Else the mysql will not start. If you don't have root account create one by opening a terminal and type