then how to configure xampp separately
XAMPP is always a separate installation. Only you can't start 2 webservers at the same time. (Maybe you can tweak the XAMPP config, thus Apache is using another port then 80)
and remove other apache server ??//
Sorry. Don't know anything about your OS.