![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/how-to-install-xampp-on-wsl.png)
What is WSL ?
WSL stands for Windows Subsystem for Linux. It’s a compatibility layer in Windows that enables you to run a Linux distribution directly on a Windows machine, without the need for virtualization or a dual-boot setup.
How to Install and Configure?
Open ubuntu
Steps to install XAMPP on Ubuntu Server:
1. Open Ubuntu on your local
mkdir wizbrand_learning
Donwnload Xampp
2. Run the below given command:
wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.2.4/xampp-linux-x64-8.2.4-0-installer.run
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-12-1024x432.png)
3. Run below code for permission
sudo -s
4. Run: below code -> (This will give the executable permission to the installer file that you downloaded in step 2)
chmod 755 xampp-linux-x64-8.2.4-0-installer.run
5. Run: below command (This will start the installation)
sudo ./xampp-linux-x64-8.2.4-0-installer.run
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-13-1024x576.png)
6. Run/ Start XAMPP server
sudo /opt/lampp/lampp start
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-14-1024x225.png)
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-15-1024x524.png)
7. Lets set password for access the phpmyadmin
sudo /opt/lampp/xampp security
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-16-1024x480.png)
8. Restart XAMPP:
sudo /opt/lampp/lampp restart
9. Let’s access phpmyadmin again and see if it is asking for the password:
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-17-1024x529.png)
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-18-1024x510.png)
Now access the phpmyadmin
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-19-1024x576.png)
I hope this installation process is helpfull for you 👍👍