There are two main ways to create a linux based web desktop environment. The first is using XAMPP, this is a software setup that has been completely pre-made it only takes an extract. The second way is to install and configure Apache, MySQL, and PHP on your system, this will create what is called a LAMP stack.
The XAMPP approach will work on most linux systems without too much effort.
The LAMP approach will mean that one must install and configure the software on their exact system. We will try to cover multiple distrobutions since this is different for each compared to XAMPP.